Welcome! Log In Create A New Profile

Advanced

Re: nginx - log extra header

June 25, 2010 04:24PM
ngrep -q xx.xx.xx.xx
[quote]

T 99.99.99.88:55789 -> 192.168.1.1:80 [AP]
GET /contents/videos_screenshots/1/1/382/1.jpg HTTP/1.1..User-Agent: Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4..Accept: image/png,image/*;q=0.8,*/*;q=0.5..Accept
-Language: ru..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Referer: http://site.com/ta
gs/video-review/..Cookie: tp_session=2e794de56ee870e; __qca=0348-755
18054; __utma=235843541.1263937445.43; __utma=117961998.1519714433.12751277494061.36;
utmz=117961998.1276699093.17.2.utmcsr=test.site.com|utmccn=(
referral)|utmcmd=referral|utmcct=/login.php_utmc=117961998; __utmb=117961998.47.10.1277494061..X-Aka
mai-CONFIG-LOG-DETAIL: true..TE: chunked;q=1.0..Connection: TE..Accept-Encoding: gzip..Akamai-Origin-Ho
p: 1..Via: 1.1 akamai.net(ghost) (AkamaiGHost)..X-Forwarded-For: 23.24.25.26..Host: cdn2.site.com
..Cache-Control: max-age=86400..Connection: keep-alive....
[/quote]
это получается что Akamai шлёт IP kлиента в заголовке X-Forwarded-For, а в документации написанно другое.
Как мне тогда быть с 2-мя таким заголовками ?
Один я отдаю Apache, второй получаю от Akamai и оба называются одинково.
Я могу изменить то что отдаю Apache ?
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: 49
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