Forum: NGINX how to pass referer using mod_proxy?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0ec929f9b2472896c4c8eb97d457a10d?d=identicon&s=25 Walter Cruz (Guest)
on 2008-11-26 16:28
(Received via mailing list)
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?
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2008-11-26 16:53
(Received via mailing list)
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#p....

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
0ec929f9b2472896c4c8eb97d457a10d?d=identicon&s=25 Walter Cruz (Guest)
on 2008-11-27 22:03
(Received via mailing list)
for the safe of archives, my proxy (privoxy) was stripping the referrer
header :)
This topic is locked and can not be replied to.