Безусловная авторизация локальных хостов

Alex [g100m] Mikhal`kov gloom_2k at mail.ru
Thu Apr 13 12:05:20 MSD 2006


Привет.

А реально как-то обойти проблему, мешающую nginx сделать

server {
     location / {
           auth_basic "dfdf"
           ...
           if ($remote_addr = 1.1.1.1) {
              auth_basic off
           }
     }
}


-- 

  Current music :  Nickelback - Photograph
  Current mood  :  


Alexandr [ G100m ] Mikhal`kov
___________________________________________________________
Кey: http://www.livejournal.com/pubkey.bml?user=g100m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 241 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20060413/43399d1a/attachment.pgp>


More information about the nginx-ru mailing list