Exposed docs endpoint, added default env

This commit is contained in:
2025-09-23 18:55:07 +01:00
parent 6f95816fb4
commit 5aacf17ef2
8 changed files with 69 additions and 143 deletions

View File

@@ -24,14 +24,18 @@ server {
location / {
}
location /docs {
proxy_pass http://api:8000;
}
location /openapi.json {
proxy_pass http://api:8000;
}
location /api/v1/ {
proxy_pass http://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 $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
}
location /healthz {
proxy_pass http://api:8000;