uga aga
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user