Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions web/deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ server {
proxy_pass http://api:8000;
}

# Operational health probe — reaches the api liveness endpoint
# without going through the SPA fallback. Useful for ad-hoc curl
# and for ingress / load-balancer health checks that target the
# web pod (k8s probes hit the api pod directly via Service).
location = /health {
proxy_pass http://api:8000/health;
}

# Static asset cache headers (Vite emits hashed filenames so this is
# safe for the long-tail).
location ~* \.(js|css|woff2?|svg|png|jpg|jpeg|gif|ico)$ {
Expand Down
Loading