Grafanano signalmediumCluster of 18 signals
Card #3483 · Grafana

Difficulty configuring Grafana with reverse proxies and Docker

Users are struggling to correctly configure Grafana when running it behind Nginx or within Docker containers. Common issues include incorrect root_url settings, failure to pick up environment variables, and connectivity errors when using subpaths.

GrafanaUpdated 2d ago0.19
Pain score
0.19/ 1.00 · weighted product of four components
Reach1.00
distinct authors (log-normalized)
Recency1.00
freshness decay, half-life months
Engagement0.56
upvotes + comments, normalized
Monetization0.25
willingness-to-pay cues in evidence
§ Evidence — 4 verified quotes
My docker images of grafana is not able to set proxy env. We need proxy to push notification.
Forum·@manukoli1986··source ↗
I am running grafana as one container and nginx as another container. They are running in the same docker network. My configs are as below: grafana.ini root_url: http://containername:3000/grafana/ Nginx config: location /grafana/ { proxy_pass http://containername:3000/; }
Forum·@amruthapbhat··source ↗
grafana doesn’t seem to pickup those settings from environment variables set through docker-compose
Forum·@qmnonic··source ↗
I configured root url as http://XXXX.com/grafana in grafana.ini configuration. We are getting above error while accessing on http://XXXX.com/grafana
Forum·@madhup··source ↗

Comments are a Pro feature — join the conversation, share what you've shipped, hear what others are building.

Upgrade to Pro