Nginx Error: *300 upstream sent too big header while reading response header from upstream, client: 191.168.1.8, server: localhost, request: “POST /saas/?mc=regtools&m=enroll_student HTTP/1.1″, upstream: “fastcgi://127.0.0.1:9000″, host: “localhost”, referrer: “https://www.example.com/?mc=regtools&m=rocknroll” Add these lines to your nginx config #Core Modules client_header_buffer_size 8m; large_client_header_buffers 8 8m; #Http Fast CGI modules fastcgi_buffer_size 8m; fastcgi_buffers 8 8m; To check the core modules’ default values refer to nginx’s official wiki page: http://wiki.nginx.org/HttpCoreModule To check http fast cgi module default values reer to nginx’s official wiki page: http://wiki.nginx.org/HttpFastcgiModule
Continue Reading
