{"id":7665,"date":"2015-09-30T04:45:50","date_gmt":"2015-09-30T04:45:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/09\/30\/upstream-too-big-nginx-codeigniter-open-source-projects-bcit-ci-codeigniter\/"},"modified":"2015-09-30T04:45:50","modified_gmt":"2015-09-30T04:45:50","slug":"upstream-too-big-nginx-codeigniter-open-source-projects-bcit-ci-codeigniter","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/09\/30\/upstream-too-big-nginx-codeigniter-open-source-projects-bcit-ci-codeigniter\/","title":{"rendered":"Upstream too big &#8211; nginx + codeigniter-open source projects bcit-ci\/CodeIgniter"},"content":{"rendered":"<p>I am getting this error from Nginx, but can&#8217;t seem to figure it out! I am using codeigniter and am using the database for sessions. So I&#8217;m wondering how the header can ever be too big. Is there anyway to check what the header is? or potentially see what I can do to fix this error?<\/p>\n<p>Let me know if you need me to put up any conf files or whatever and I&#8217;ll update as you request them<\/p>\n<pre><code>2012\/12\/15 11:51:39 [error] 2007#0: *5778 upstream sent too big header while reading response header from upstream, client: 24.63.77.149, server: jdobres.xxxx.com, request: \"POST \/main\/login HTTP\/1.1\", upstream: \"fastcgi:\/\/127.0.0.1:9000\", host: \"jdobres.xxxxx.com\", referrer: \"http:\/\/jdobres.xxxx.com\/\"\n<\/code><\/pre>\n<p><strong>UPDATE<\/strong><\/p>\n<p>I added the following into conf:<\/p>\n<pre><code>proxy_buffer_size   512k;\nproxy_buffers   4 512k;\nproxy_busy_buffers_size   512k;\n<\/code><\/pre>\n<p>And now I still get the following:<\/p>\n<pre><code>2012\/12\/16 12:40:27 [error] 31235#0: *929 upstream sent too big header while reading response header from upstream, client: 24.63.77.149, server: jdobres.xxxx.com, request: \"POST \/main\/login HTTP\/1.1\", upstream: \"fastcgi:\/\/127.0.0.1:9000\", host: \"jdobres.xxxx.com\", referrer: \"http:\/\/jdobres.xxxx.com\/\"\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am getting this error from Nginx, but can&#8217;t seem to figure it out! I am using codeigniter and am using the database for sessions. So I&#8217;m wondering how the header can ever be too big. Is there anyway to check what the header is? or potentially see what I can do to fix this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7665","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7665"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7665\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}