how to pass referer using mod_proxy?

Walter Cruz walter.php at gmail.com
Thu Nov 27 23:52:15 MSK 2008


for the safe of archives, my proxy (privoxy) was stripping the referrer
header :)

On Wed, Nov 26, 2008 at 1:45 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Wed, Nov 26, 2008 at 01:19:08PM -0200, Walter Cruz wrote:
>
> > Hi all! I use nginx as a proxy to apache, but I got a problem: the
> referer
> > header is not passed to apache. How can I configure nginx to do that?
>
> By default nginx passes all headers to backend.  The only
> modification it does are:
>
> - Host: <name of upstream>
> - Connection: close
>
> See http://wiki.codemongers.com/NginxHttpProxyModule#proxy_set_header.
>
> Looks like you did something wrong either in your nginx config or
> in your code.  Try tcpdump to see what really happens on the wire.
>
> Maxim Dounin
>
>


-- 
[]'
- Walter
waltercruz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081127/5b11f7f3/attachment.html>


More information about the nginx mailing list