You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2021. It is now read-only.
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_path setting includes subpath
3. If you have a local dev build make sure you build frontend using: npm run dev, npm run watch, or npm run build
4. Sometimes restarting grafana-server can help
I also wanted to run swarmprom's Web UIs in a sub-path (using Traefik as a reverse proxy). Here's what I had to do:
Add --web.external-url=/prometheus/ to the prometheus command (in docker-compose.yml)
Set the Traefik rule for prometheus to: traefik...rule="Host('example.com') && PathPrefix('/prometheus/')")
(or if you are using Traefik v1: traefik...rule=Host:example.com;PathPrefix:/prometheus/)
Add GF_SERVER_ROOT_URL=https://example.com/grafana/ environment variable to grafana service in docker-compose.yml
Set the Traefik rule for Grafana to PathPrefixStrip('/grafana/')
I want to be able to use swarmprom behind reverse proxy.
First problem is grafana, when i query https://supervision.infra.domain.fr/grafana
I get
I found solution here https://grafana.com/docs/grafana/latest/installation/behind_proxy/
I need to be able to change
root_url
varIs there a way to do this ?
I created a config file
defaults.ini
bind on/usr/share/grafana/conf/defaults.ini
And changed value as
But i still get the same msg
Here my complete docker-stack file
The text was updated successfully, but these errors were encountered: