mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
cha25
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user