Update locations

This commit is contained in:
Parker M. 2024-12-02 23:47:11 -06:00
parent 2eec9e6ce9
commit b860f9699c
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

@ -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;
}
}