This commit is contained in:
2026-08-09 04:01:56 +02:00
parent cb1b91c4c9
commit 3e8c7c03ee

View File

@@ -1,3 +1,11 @@
client_max_body_size 10000M; client_max_body_size 10000M;
client_body_timeout 120s; client_body_timeout 120s;
client_header_timeout 120s; client_header_timeout 120s;
# Pass real IP and forwarded headers from Nginx to Node.js backend
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_set_header Host $http_host;
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;