How to pass referer using mod_proxy?

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?

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:
  • 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 D.

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