Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx+xbt tracker


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx+xbt tracker
  • From: Oleg Motienko <motienko@xxxxxxxxx>
  • Date: Fri, 3 Dec 2010 22:44:54 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=7YOXRG3IGr8H36Yk6bxKLd95TPuIpkGq9slHgj3oirA=; b=w0C9GsnDTBpF0dozby+qpgAsTsEfDHgSDrN/wyApbeM4L0QOc37Cb7RDFmqoyIikmH A69361HJxtLM5YuyedJm6IPRl3Xmr5/lg75/YGj49zeq6Wa/z7atfrxek8ApRZs4a7SR vhn/RUDDzGeNiUyhK+vdRxkBu51HGwr9uHbBU=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=oMlCiI+PBJyGj90BBRm/vIpPfEWe6sRPlTYs6HGmnAYchETgxqzTuhw9dPTouVOjPp 3oeqmFtPp53pXQRJr4wwl+r75E9tKqqCCJI6Pna6bv6Jui5Ot13SQoO1wOi6/oZMa9xV FivRGueSmcQo8sCm1KcSCkMJSaRfe+AFh0a2I=
  • In-reply-to: <4CF91474.9020502@xxxxxxxxxx>
  • References: <e05ab101ac9e5b0c96fda4aba3fe5a8e.NginxMailingListRussian@xxxxxxxxxxxxxxx> <4CF91474.9020502@xxxxxxxxxx>

. xbt realip. arg ip .

:

set $args $args&ip=$remote_addr;

rewrite ^/a /myannounce?ip=$remote_addr&foooobaar=none&$args;

, , ...


2010/12/3 Roman Sokolov <rps@xxxxxxxxxx>
Hello,


agz wrote:
- ? nginx
proxy_pass
. -
...
:
http://host/$pass_hash/announce
.
- .


, nginx
, ...
?
?
:
location ~ ^/(an|announce) {
proxy_pass http://127.0.0.4:2710;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}


--
Oleg

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.