diff --git a/frontend/nginx.conf b/frontend/nginx.conf index e3486db..b30af3c 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -38,11 +38,15 @@ server { client_max_body_size 50M; } - # 3. Health + # 3. Health (slugged for browser use + bare for management monitor) location /forecasting/health { proxy_pass http://backend:8000/health; } + location = /health { + proxy_pass http://backend:8000/health; + } + # 4. SPA fallback location /forecasting/ { root /usr/share/nginx/html;