remove nginx

This commit is contained in:
2026-04-10 00:25:43 +02:00
parent 9223e4d35f
commit db0a46a0b5
7 changed files with 29 additions and 12 deletions
+9 -3
View File
@@ -3,17 +3,23 @@ events {
}
http {
upstream backend { server backend:3301; }
upstream backend { server backend:3001; }
upstream frontend { server frontend:80; }
server {
listen 80;
server_name _;
client_max_body_size 60M;
location /api/ {
proxy_pass http://backend;
proxy_pass http://backend/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 10s;
proxy_read_timeout 60s;
}
@@ -22,4 +28,4 @@ http {
proxy_set_header Host $host;
}
}
}
}