diff --git a/nginx.conf b/nginx.conf index 32050c7..e7ee500 100644 --- a/nginx.conf +++ b/nginx.conf @@ -63,6 +63,13 @@ server { font/woff font/woff2; + # ── Health check endpoint ──────────────────────────────────────────────── + # Simple endpoint for uptime monitoring. + location /health { + return 200 "OK"; + add_header Content-Type text/plain; + } + # ── WebSocket proxy (/ws) ───────────────────────────────────────────────── # Forwards to the Hermes / presence backend running on port 8080. # Adjust the upstream address if the WS server lives elsewhere.