<div dir="ltr">Hi,<div><br></div><div>It seems to me add_header and error_page don't work together (error pages don't have headers added in the http scope).</div><div><br></div><div>This (<a href="http://www.ruby-forum.com/topic/196700">http://www.ruby-forum.com/topic/196700</a>) old posting from 2009 also says so, and claims the only workaround is the non-standard headers-more module.</div>
<div><br></div><div>Am I missing something? Any chance this oversight will be fixed in mainline nginx?</div><div><br></div><div>Thanks,</div><div> - Yaniv</div></div>