From 9a0dc58b11a31e451e119809620b3b58e55841bc Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Mon, 13 Jul 2026 17:07:35 +0000 Subject: [PATCH] Add bare /health location to nginx for management monitor compatibility The management monitor checks http://{host}:{port}/health (no slug prefix). Adds a location = /health alias alongside the existing /rates/health so both the slug URL (browser/NPM) and the bare path (monitor) work. Co-Authored-By: Claude Sonnet 4.6 --- frontend/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 5ba8649..76f305f 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -40,11 +40,15 @@ server { client_max_body_size 10M; } - # 3. Health + # 3. Health (slugged for browser use + bare for management monitor) location /rates/health { proxy_pass http://backend:8000/health; } + location = /health { + proxy_pass http://backend:8000/health; + } + # 4. SPA fallback location /rates/ { root /usr/share/nginx/html;