an upstream response is buffered to a temporary file

今天调试nginx+tomcat 在登录的时候 某个用户无法调用,查看nginx报错如下:

an upstream response is buffered to a temporary file

经网络查询 发现是请求头过大导致,修改nginx配置文件即可

fastcgi_buffer_size 512k;
fastcgi_buffers 6 512k;
fastcgi_busy_buffers_size 512k;
fastcgi_temp_file_write_size 512k;

你可能感兴趣的:(TO,response,File,temporary,Buffered,upstream,is,a,An)