connection close on 500, 503, 502.

newnovice nginx-forum at nginx.us
Mon Nov 3 08:19:54 UTC 2014


Can i do something like: (i don't really need a page necessarily - i am
purely interested in changing the connection from keep-aline to
connection-close)

error_page 500 502 503 504 /ServiceUnavailableError.xml;

         location = /ServiceUnavailableError.xml {
              root /error_pages/;
              internal;
              default_type text/xml;
              
              keepalive_requests 0;
          }

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254535,254536#msg-254536



More information about the nginx mailing list