4 messages in ru.sysoev.nginxInserting a Request header before pro...
FromSent OnAttachments
wo...@anomalizer.netOct 12, 2008 11:35 pm 
Almir KaricOct 12, 2008 11:56 pm 
Arvind JayaprakashOct 13, 2008 2:12 am 
Igor SysoevOct 13, 2008 2:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Inserting a Request header before proxyingActions...
From:wo...@anomalizer.net (wo@anomalizer.net)
Date:Oct 12, 2008 11:35:58 pm
List:ru.sysoev.nginx

I'd like to insert a custom HTTP header (eg: X-foobar) into a request before doing a proxy_pass.

Is there any way to do this without changing the proxy module itself? I read that there can be only one handler per request. Though my module retruns NGX_DECLINED after doing its job, it doesn't seem to get executed first and proxy_pass seems to get invoked first.