ПРОЕКТЫ 


  АРХИВ 


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]

auth_request & http_access


  • To: nginx-ru@xxxxxxxxx
  • Subject: auth_request & http_access
  • From: Konstantin Svist <fry.kun@xxxxxxxxx>
  • Date: Tue, 02 Nov 2010 18:53:36 -0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=V5Ghx0prNpVQk3FZclm3frd1XA1MLeBWFC2vldJtcLk=; b=pgXc3URPcPYNX92RLhFvntBNhySXLfIbJoaXpvNTsCV2C9RoZZDRQWQmr254oz2Gaq SRx0XZk0dBWFHwQkniRVBYcdfPMlnFpX3kSkdYwm39EXtXxAQDYOQHOZsSTgr8Q49Wd+ Yvopddienh402cSpC6OCBaLu5NG1lblESwFZo=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=t8gtgjPEoMIpray9kPxGPqPE4MtAPSiq8YENdBbe/9QvUjOY7fxKJLrWFx9iltovIa SVovdDgYgloD2fvZzx3ykQeEGIHWdQyYYPrChC6QfBMY181HwOTkRad2X6iCGD6A+P5p kFoqKlW/haQhQzqpJxoXOVsNdgPgRxwW2B/Bo=

 Конфиг:

        location /foo {
            allow 192.168.0.0/24;
            deny all;
            auth_request /auth/;
            error_page 403 = @go_login;
            root /var/www/foo;
        }

Почему-то идёт запрос на /auth/ даже когда IP не совпадает с 192.168.0.*
Как бы такое запретить?


Спасибо заранее


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


 




Copyright © Lexa Software, 1996-2009.