add header on custom error page

speedfirst nginx-forum at nginx.us
Wed Sep 7 02:07:45 UTC 2011


add_header is effective only when the response code is equal to 200,
204, 301, 302 or 304. You should try headers_more module.

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



More information about the nginx mailing list