error_page and module contexts

Dave Bailey dave at
Fri Feb 3 16:53:26 UTC 2012


As of nginx 1.1.6, it seems that the error_page directive can no longer be
used in a way that preserves module contexts to the log phase of the
request cycle.  This means that if I have a log handler which expects some
information that had been saved in a module context before the error_page
logic is invoked, that information is no longer accessible when the log
handler is actually called.  Is there a way to work around this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list