kirpat
(Kir)
22
i am getting this when i open xxxx.duckdns.org/grafana
If you’re seeing this Grafana has failed to load its application files
-
This could be caused by your reverse proxy settings.
-
If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath
-
If you have a local dev build make sure you build frontend using: npm run dev, npm run watch, or npm run build
-
Sometimes restarting grafana-server can help
bob88865
(bob)
23
Hi Kirpat
In case you are still looking for a solution. There is a new option in the latest Grafana that works better.
Add these options:
{
"name": "GF_SERVER_DOMAIN",
"value": "xxxx.duckdns.org"
},
{
"name": "GF_SERVER_ROOT_URL",
"value": "%(protocol)s://%(domain)s/grafana/"
},
{
"name": "GF_SERVER_SERVE_FROM_SUB_PATH",
"value": "true"
}
the configuration for nginx is then very simple you can find it in the documentation here
1 Like
kirpat
(Kir)
24
Thanks, that really worked,
SteffenDE
(Steffen)
25
Hi,
here grafana do not work via reverse proxy from outside my lan. I only get:
If you’re seeing this Grafana has failed to load its application files
-
This could be caused by your reverse proxy settings.
-
If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath
-
If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
-
Sometimes restarting grafana-server can help
… and nothing helps. Any hint for me?
Steffen