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 502教程404NtFoundd发布了5 篇原创文章 · 获赞 0 · 访问量 44 私信 关注


标签: nginx, header, size, timeout, fastcgi, buffers, 502

相关文章推荐

添加新评论,含*的栏目为必填