ПРОЕКТЫ 


  АРХИВ 


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: if ($remote addr=...) {....}


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: if ($remote addr=...) {....}
  • From: Konstantin Svist <fry.kun@xxxxxxxxx>
  • Date: Sat, 12 Mar 2011 14:23:29 -0800
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ZqfpAFL/T6Ng/s7tEda94gXLaCz58dUEI7utuiEInlE=; b=auPT9itJIfgcnxPw1Dgn4bjFIWM9Ex14XsxzNBMH7B9XnUXwoMkYgLDB2L7b3Z4Gcz Hm8qkPErHLbiv2xU2My6Q12CkuC8B93hd/9uO9F7YxxSXyDTLUiO6RCIwRVMovC4CD94 xiTxcrfc+7f9bpKpP/0m0BzeoK8xsKsWsOADI=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=aNhuQ6UkEG7QwcB7/Il7eVdSZm1GqnGAQlIYuwtam5vY0IwW2+/8KATvuACJ6CX766 lPV2+9mU06C25iL6OYQ+gNMM1dK5ouJ9tOS4Ii7V8zU7Cvo/1TjepWo+4GYmw3evdd+k QxK/uBY3Pk+mrVpY7qEvB3x0aEhj1KNHXBdqE=
  • In-reply-to: <af6972f052d50a412e2b3923a36f60e8.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <af6972f052d50a412e2b3923a36f60e8.NginxMailingListRussian@xxxxxxxxxxxxxxx>

On 03/12/2011 02:06 PM, necro wrote:
Можно ли в подобной конструкции в
качестве $remote_addr использовать файл со
списком адресов?


Лучше вот так: http://sysoev.ru/nginx/docs/http/ngx_http_geo_module.html



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


 




Copyright © Lexa Software, 1996-2009.