Fixed NGINX Config for new z endpoints
Some checks failed
CI / Lint & Format (push) Successful in 4s
CI / Tests (Pytest + Alembic + Postgres) (push) Failing after 4m45s
CI / Docker Build (push) Has been skipped

This commit is contained in:
2025-09-30 12:24:51 +01:00
parent 3a49d82d04
commit 7054ba7547

View File

@@ -24,12 +24,15 @@ server {
location / {
}
# NOT FOR PROD
location /docs {
proxy_pass http://keywarden-api:8000;
}
location /openapi.json {
proxy_pass http://keywarden-api:8000;
}
location /api/v1/ {
proxy_pass http://keywarden-api:8000;
proxy_set_header Host $host;
@@ -37,7 +40,11 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
}
location /healthz {
location ~ ^/(healthz|readyz|livez)$ {
proxy_pass http://keywarden-api:8000;
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;
}
}