nginx proxy buffers and timeouts
This commit is contained in:
parent
4038c05b4d
commit
ab9d16d2b8
@ -47,6 +47,14 @@ server {
|
|||||||
limit_conn perip 128;
|
limit_conn perip 128;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
proxy_connect_timeout 159s;
|
||||||
|
proxy_send_timeout 600;
|
||||||
|
proxy_read_timeout 600;
|
||||||
|
proxy_buffer_size 256k;
|
||||||
|
proxy_buffers 32 64k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
|
proxy_temp_file_write_size 256k;
|
||||||
|
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
Reference in New Issue
Block a user