1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-24 02:28:57 +06:00
parent a63520305f
commit 800d3c4b5e

View File

@@ -1,6 +1,6 @@
# Upstream backend servers
upstream backend {
server backend:8000;
server backend:8080; # Changed from 8000 to 8080 to match FastAPI port
keepalive 32;
}
@@ -21,7 +21,7 @@ server {
# Backend API proxy
location /api/ {
proxy_pass http://backend;
proxy_pass http://backend/api/; # Added /api/ to ensure proper path rewriting
# Proxy headers
proxy_http_version 1.1;