nginx upstream sent too big header while reading response header from upstream 看全部

nginx的error log中出現 [error] 854#0: *68886 upstream sent too big header while reading response header from upstream
解決辦法:
在/etc/nginx/nginx.conf中加入
http {
        ....
        fastcgi_buffers 8 16k;
        fastcgi_buffer_size 32k;
         ...
}

Reference: http://www.yodi.sg/solve-php-fpm ... ader-from-upstream/