Welcome! Log In Create A New Profile

Advanced

Re: nginx - log extra header

June 25, 2010 09:34AM
>> Как я могу в свой access log записать этот IP,
>> т.е. как мне записать этот заголовок True
>> Client IP Header в лог ?
> $http_true_client_ip
Вообще, правильнее в данном случае будет воспользоваться
http://sysoev.ru/nginx/docs/http/ngx_http_realip_module.html:
set_real_ip_from подсетки_akamai;
real_ip_header True-Client-IP;
И ip появится в $remote_addr.

--
Boris Dolgov.
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx - log extra header

wmiadmin June 25, 2010 09:24AM

Re: nginx - log extra header

Boris Dolgov June 25, 2010 09:28AM

Re: nginx - log extra header

Boris Dolgov June 25, 2010 09:34AM

Re: nginx - log extra header

wmiadmin June 25, 2010 01:21PM

Re: nginx - log extra header

wmiadmin June 25, 2010 01:24PM

Re: nginx - log extra header

wmiadmin June 25, 2010 01:37PM

Re: nginx - log extra header

wmiadmin June 25, 2010 01:49PM

Re: nginx - log extra header

wmiadmin June 25, 2010 04:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready