Re: [Pound Mailing List] About pound + x-forwarded-for + nginx

Emilio Campos <[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Pound adds the x-forwarded-for header by default, you have to configure
your nginx logs for saving this header in the logs.

Take a look in this nginx example configuration:

http://wiki.nginx.org/FullExample (log_format directive)

Regards



2014-03-17 13:40 GMT+01:00 Stephan Gomes Higuti <[email protected]>:

> Hello guys,
>
> I've searched about it on internet and also in the mail list, I found tons
> of replies about it, but none of them fit to my needings.
> I've got a pound as a balancer, sending the requests to my nginx running
> ModSecurity + CRS.
> ModSec receives the requests from pound with the pound node IP, not the
> remote (client) IP, and i've tried lots of configurations using
> x-forwarded-for with no sucess.
> I've found some people saying about mod_rpaf, but it seems to be an Apache
> module, but didnt found anything about nginx.
> Is it possible to get those informations using nginx instead of apache?
> Do I have to configure anything different in the pound.cfg or it comes by
> default?
>
> Regards,
>
> Stephan Gomes Higuti
>



-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): zenloadbalancer-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.