1.  nginx出现  “414 request-uri too large”

    解决方法:在nginx.conf的配置文件中,修改如下配置:

    client_header_buffer_size 512k;
    large_client_header_buffers 4 512k;


2.   错误日志报 “upstream sent too big header while reading response header from upstream”

解决:在vhost的中加入:

    fastcgi_buffer_size 128k;
    fastcgi_buffers 32 32k;