Restrictions to modifying request->headers_in.headers in NGX_HTTP_PREACCESS_PHASE?

Ryan Burn rnickb731 at
Wed Mar 28 20:15:44 UTC 2018

> You are not allowed to modify r->headers_in, at any time.

If I want to ensure that certain headers are added if the request is
proxied upstream, is there any way to do that?

More information about the nginx-devel mailing list