When your php5-fpm and NGINX got this errors:
1 | 2013/07/22 09:55:20 [error] 10446#0: *5 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: www.yodi.biz, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.yodi.biz" |
That’s meaning you need to resize your fastcgi buffers in our nginx.conf. In Ubuntu or Debian it’s located at /etc/nginx/nginx.conf.
1 2 3 4 5 | http { …. fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; … |
Restart your NGINX service and the problems should be gone.