Exposed docs endpoint, added default env
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user