上游在从上游读取响应头时发送了太大的头:“fastcgi:// unix:/var/run/php-fpm.sock:”
server {
...
...
location ~ '\.php$|^/update.php' {
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#fastcgi_pass 127.0.0.1:7777;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_intercept_errors on;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 16k;
fastcgi_busy_buffers_size 256k;
fastcgi_read_timeout 180;
fastcgi_send_timeout 180;
}
}
http {
proxy_buffering off;
}
我在当地的码头上得到这个。我已经为缓冲区和缓冲区大小尝试了不同的值。关于如何应对这个问题有什么建议吗?