14 lines
371 B
Nginx Configuration File
14 lines
371 B
Nginx Configuration File
|
location / {
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
|
||
|
client_max_body_size 1M; # default is 1M
|
||
|
|
||
|
proxy_connect_timeout 10m;
|
||
|
proxy_send_timeout 10m;
|
||
|
proxy_read_timeout 10m;
|
||
|
send_timeout 10m;
|
||
|
|
||
|
proxy_pass http://127.0.0.1:__PORT__;
|
||
|
}
|