In the post http://matrafox.info/firephp-on-nginx-zend_db_profiler_firebug-bad-gateway.html i modiy
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
However after a few day I nottice that on firefox I have a lot of 502  bad gateway .  So after a short look on log I see
*62814 upstream sent too big header while reading response header from upstream
So, to fix this I increase the valuse to
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
I see also that they can be even higher  something like
fastcgi_buffers 4 256k;
fastcgi_buffer_size 128k;