Update locations
This commit is contained in:
parent
2eec9e6ce9
commit
b860f9699c
@ -18,8 +18,12 @@ server {
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_recursive on;
|
||||
}
|
||||
# Proxy requests to docs to FastAPI
|
||||
# Proxy docs to FastAPI
|
||||
location /docs/ {
|
||||
proxy_pass http://localhost:5252;
|
||||
proxy_pass http://localhost:5252/docs;
|
||||
}
|
||||
# Proxy /openapi.json to FastAPI
|
||||
location /openapi.json {
|
||||
proxy_pass http://localhost:5252/openapi.json;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user