Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass to backend (varnish): delivered ip?

January 31, 2013 01:40AM
Good Morning,

> You can see the right X-Forwarded-For header with tcpdump.
>
> Take a look at the log format varnish uses. I don't know how to
> configure varnish, but with Apache you have to change your LogFormat
> from
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
>
> to something like
>
> LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b
> \"%{Referer}i\"\"%{User-Agent}i\"" nginx

Good idea. I'll check if varnish is able to do that.

thx
revirii
SubjectAuthorPosted

proxy_pass to backend (varnish): delivered ip?

reviriiJanuary 30, 2013 10:33AM

Re: proxy_pass to backend (varnish): delivered ip?

Francis DalyJanuary 30, 2013 10:54AM

Re: proxy_pass to backend (varnish): delivered ip?

reviriiJanuary 30, 2013 11:13AM

Re: proxy_pass to backend (varnish): delivered ip?

Francis DalyJanuary 30, 2013 11:22AM

Re: proxy_pass to backend (varnish): delivered ip?

reviriiJanuary 31, 2013 02:13AM

Re: proxy_pass to backend (varnish): delivered ip?

Francis DalyJanuary 31, 2013 06:48AM

Re: proxy_pass to backend (varnish): delivered ip?

AxelJanuary 30, 2013 11:24AM

Re: proxy_pass to backend (varnish): delivered ip?

reviriiJanuary 31, 2013 01:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready