nginx Common Issues

upstream sent too big header while reading response header from upstream

Direct Servicing Content

Change your fastcgi buffers

as Proxy

Change your proxy buffers

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: