Commit bc80d0d
fix: configure Grafana for iframe embedding in dashboard
Added required Grafana environment variables for proper iframe embedding:
- GF_SERVER_SERVE_FROM_SUB_PATH=true: Allows serving from /embedded/grafana
- GF_SERVER_ROOT_URL: Configures correct URL context with dynamic domain
- GF_SECURITY_ALLOW_EMBEDDING=true: Permits iframe embedding
- GF_AUTH_ANONYMOUS_ENABLED=false: Keeps authentication required
This fixes the "localhost refused to connect" error after login by ensuring
Grafana uses the correct URL context instead of redirecting to localhost.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2da09c6 commit bc80d0d
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
0 commit comments