首页 > 代码库 > nginx出现 “414 request-uri too large”

nginx出现 “414 request-uri too large”

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;




本文出自 “浅浅的淡淡” 博客,转载请与作者联系!

nginx出现 “414 request-uri too large”