remove nginx

This commit is contained in:
2026-04-10 00:25:43 +02:00
parent 9223e4d35f
commit 52ad27419e
18 changed files with 265 additions and 126 deletions
+39
View File
@@ -0,0 +1,39 @@
events {
worker_connections 1024;
}
http {
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:3001/;
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;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate";
add_header Pragma "no-cache";
add_header Expires 0;
proxy_set_header If-Modified-Since "";
proxy_set_header If-None-Match "";
}
location / {
proxy_pass http://frontend;
proxy_set_header Host $host;
}
}
}