Can't access grafana when append subpath

When i added the parameter “GF_SERVER_SERVE_FROM_SUB_PATH=true” in environment, after restart grafana and access url with new subpath it shown the below messages:

If you’re seeing this Grafana has failed to load its application files

  1. This could be caused by your reverse proxy settings.

  2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath

  3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build

  4. Sometimes restarting grafana-server can help


Please kindly help to investigate this issue.

1 Like

welcome to the :grafana: forum, @gugurig

This is a common issue. I would search this forum for others who have resolved how to serve Grafana from a subpath:

https://localhost:3000/search?expanded=true&q=subpath%20order%3Alatest

popular topics:

https://localhost:3000/t/nginx-proxy-from-new-domain-to-old-domain/46149/12

https://localhost:3000/t/subpath-grafana-failed-to-load-resoruce-file-error/3178/4