====== nginx Common Issues ======

==== upstream sent too big header while reading response header from upstream ====
== Direct Servicing Content ==
Change your fastcgi buffers
<sxh bash>
fastcgi_buffers 16 24k; 
fastcgi_buffer_size 128k;
</sxh>
== as Proxy ==
Change your proxy buffers
<sxh bash>
proxy_buffers   16 24k;
proxy_buffer_size   128k;
proxy_busy_buffers_size   128k;
</sxh>

In both cases try to find the appropriate buffer size, the sizes posted here are for illustration purposes but should work in 80% of cases.

Also note that in case of long polling services you should turn off the proxy buffers using:
<sxh bash>
proxy_buffering off;
</sxh>
