Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
location regexp
- To: nginx-ru@xxxxxxxxx
- Subject: location regexp
- From: Dmitriy Tyugaev <dtyugaev@xxxxxxxxx>
- Date: Wed, 20 Jun 2012 15:18:36 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hI1c2mr97XXgwrr+b0IoGI+dgIbZA+CYahhmr8qVTbA=; b=kJy3bT+JHRpFzCJU9nRnm+H6yK+aharfBqOU1aKWUJKkaWTmCTLWuhd/tuYqwFxbGw 6G8PEPJLKMiXXEh+XVGO0gtMMA8g8i94YfNzMMgRcYb2dq//V/Y2cnezoug85M3Jkqsm 6XjJ1WHDKg+qaZKjvLlUBEZqk7oSRIEujl9M5BZWdLGVJXDoGXwtzGHXVywSInHKkqPD Mj53s+LnmqGsz8BmzcDCJbhPWcM1LVQZejpHUN90iNiEFDOJV91sStlJ6Qfj7C+SRtFm DMWpu2/dVVRyV+IH0EdwtvkSbfd2Sm9oIfBdfGdqRDTBZTItHKZWdFV/Ig6mnYZl/5Um 3DYA==
Здравствуйте.
Подскажите, пожалуйста, как можно закрыть на basic авторизацию запрос типа:
Мой конфиг почему-то не работает: location ~ ^/(sort)\?(.*)$ {
auth_basic "Admin Zone"; auth_basic_user_file /etc/nginx/.htpasswd; }
С уважением, Дмитрий
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|