gchef/nginx-cookbook — pull request #12 by iceberg901 (2012-10-17 18:21:51+00:00)
Title: Explicitly set large_client_header_buffers in nginx.conf

If you're on a version of nginx or an environment where large cookies are causing 400 errors, it's nice to be able to set large_client_header_buffers globally in nginx.conf, as per numerous posts such as:

http://orensol.com/2009/01/18/nginx-and-weird-400-bad-request-responses/

I put this in as we were switching over to Chef from manual configuration, and although I think the latest nginx now uses our "repaired" setting as the default, I still wanted to have it in there explicitly and also could be useful as cookies get bigger or for people not using latest version of nginx.