major refactor

This commit is contained in:
2026-03-13 01:07:02 -03:00
parent eaaf2ad60c
commit 3eeedebb15
61 changed files with 441 additions and 242 deletions

View File

@@ -44,9 +44,9 @@ http {
proxy_set_header Host $host;
}
# FastAPI
# FastAPI — trailing slash strips /api prefix before forwarding
location /api/ {
proxy_pass http://fastapi;
proxy_pass http://fastapi/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;