12 lines
390 B
Plaintext
12 lines
390 B
Plaintext
client_max_body_size 10000M;
|
|
client_body_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;
|
|
|