nginx 502

1. too big header

error log:

upstream sent too big header while reading response header from upstream

解决方法:在nginx.conf配置文件的http内添加:

fastcgi_connect_timeout 60; 
fastcgi_send_timeout 180; 
fastcgi_read_timeout 180; 
fastcgi_buffer_size 128k; 
fastcgi_buffers 4 256k; 
fastcgi_busy_buffers_size 256k; 
fastcgi_temp_file_write_size 256k; 
fastcgi_intercept_errors on;
nginx 502nginx 502 404NtFoundd 发布了5 篇原创文章 · 获赞 0 · 访问量 44 私信 关注
上一篇:Redis——单机迁移cluster集群如何快速迁移


下一篇:周游C语言教程6 - 循环语句