diff options
author | Parker <contact@pkrm.dev> | 2024-12-02 23:47:11 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-12-02 23:47:11 -0600 |
commit | b860f9699c30081ae8ca83dde8da903ab6c84f31 (patch) | |
tree | 1e8208c5b9a7224f7c0de721d680e79f2a28caa9 | |
parent | 2eec9e6ce9aaa48c1008fabbfdfc750421c388ee (diff) |
Update locations
-rw-r--r-- | nginx.conf | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; } }
\ No newline at end of file |