Skip to content

Add reverse-proxy routes for API, WS, Grafana - #15

Merged
Abasy714 merged 2 commits into
mainfrom
monitoring
May 2, 2026
Merged

Abasy714 merged 2 commits into
mainfrom
monitoring

Conversation

@Abasy714

@Abasy714 Abasy714 commented May 2, 2026

Copy link
Copy Markdown
Collaborator

Add Nginx location blocks to proxy /api/ to localhost:8080, /socket.io/ to localhost:8080 with WebSocket upgrade headers, and /grafana/ to localhost:3000. Configure common proxy headers (Host, X-Real-IP, X-Forwarded-For/Proto) and keep the existing SPA fallback for /. Grafana block includes a "MUST KEEP" note.

Add Nginx location blocks to proxy /api/ to localhost:8080, /socket.io/ to localhost:8080 with WebSocket upgrade headers, and /grafana/ to localhost:3000. Configure common proxy headers (Host, X-Real-IP, X-Forwarded-For/Proto) and keep the existing SPA fallback for /. Grafana block includes a "MUST KEEP" note.
@Abasy714
Abasy714 requested a review from a team as a code owner May 2, 2026 08:44
@Abasy714
Abasy714 merged commit 9505d28 into main May 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants