upstream sent too big header while reading response header from upstream

admin 提交于 周三, 12/20/2017 - 13:22

修改nginx.conf配置

proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

fastcgi_max_temp_file_size 0;
fastcgi_buffers 128 2048k;
fastcgi_buffer_size 2048k;

fastcgi_read_timeout 600;
fastcgi_send_timeout 600;

client_body_buffer_size      128k;
client_max_body_size 2048m;
client_header_buffer_size    1k;
large_client_header_buffers  4 4k;
output_buffers               1 32k;
postpone_output              1460;

 

large_client_header_buffers 4 128k;
    client_max_body_size 2048m;
    client_body_buffer_size 512k;

    fastcgi_connect_timeout 1200;
    fastcgi_read_timeout 1200;
    fastcgi_send_timeout 1200;
    fastcgi_buffer_size 2048k;
    fastcgi_buffers   128 2048k;
    fastcgi_busy_buffers_size 2048k;
    fastcgi_temp_file_write_size 2048k;

 

标签

Comments