This commit is contained in:
2026-02-25 13:18:28 -07:00
parent ed37fe7fea
commit 2b013f390b

View File

@@ -26,24 +26,4 @@ server {
proxy_connect_timeout 1s; proxy_connect_timeout 1s;
} }
location /api {
proxy_pass http://phoenix_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
proxy_next_upstream_tries 3;
proxy_connect_timeout 5s;
proxy_read_timeout 30s;
}
location /health {
access_log off;
return 200 "healthy\n";
add_header Content-Type text/plain;
}
} }