rewrite & $remote_user

Oleg lego12239 at yandex.ru
Tue Mar 12 18:50:37 UTC 2013


On Tue, Mar 12, 2013 at 08:43:33PM +0400, Igor Sysoev wrote:
> location /test {
>     auth_basic      "test zone";
>     auth_basic_user_file /var/www/test/.htpasswd;
>     root /var/www;
> 
>     location = /test {
>         return 301  http://$host/test/user/$remote_user/f;
>     }
> 
>     location = /test/ {
>         return 301  http://$host/test/user/$remote_user/f;
>     }
> }

  Хех. То же самое.



Подробная информация о списке рассылки nginx-ru