Setting a custom header on a proxied request
Maxim Dounin
mdounin at mdounin.ru
Wed Oct 14 16:34:45 UTC 2015
Hello!
On Mon, Oct 12, 2015 at 05:04:18PM +0100, Andrew Hutchings wrote:
> Hi Maxime,
>
> I could be wrong here (I'm not an expert at this section of code), but I
> believe what you need to set is:
>
> r->upstream->headers_in
>
> If this doesn't work please let me know and I'll build a test to try it
> out here.
No, r->upstream->headers_in is for headers got from an upstream
server.
[...]
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list