max header length from fastcgi?

Magnus Leuthner magnus.leuthner at
Thu Aug 6 15:44:44 MSD 2009


I have a little issue: I try to send out a quite big header from my
fastcgi application (using libfastcgi, FCGX). The headers contain
about 30 Set-Cookie records. Nginx only gives an 502 Bad Gateway error
when I try to send that through nginx.

Please let me know how to increase the maximum header size in nginx,
preferably in the configuration, but if there is no config hook for
this a hint to where to change a Macro in the code would be
appreciated as well.

Thank you!

More information about the nginx mailing list