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://community.grafana.com/search?expanded=true&q=subpath%20order%3Alatest

popular topics:

Hi @mattabrams,

Did you manage to solve the problem?
I am facing the same issue right now.

Thanks