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: location regexp


  • To: "nginx-ru@xxxxxxxxx" <nginx-ru@xxxxxxxxx>
  • Subject: Re: location regexp
  • From: Denis F. Latypoff <latypoff@xxxxxxxxx>
  • Date: Wed, 20 Jun 2012 18:20:31 +0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1340191232; bh=VyvOl6FLsvA5ljnLjfJKISR4DtKeUTw1FKu/mMdGzPY=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=SCOZP599+JskZEsJUZu17AglzsBHhrht/4U7qSU0bGW+nSefKwiFeMCyUK36uDx2t 4LWh/Z5t9b7xsjJhrTy6OCeQqrfWQP6fzFhE3fhxs4VDwoaKiMJb5cAZ6cQGAxXIJU EbREBnc4iapEYezYGScbVFxlwgoQF4CB+ElSq0JI=
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1340191232; bh=VyvOl6FLsvA5ljnLjfJKISR4DtKeUTw1FKu/mMdGzPY=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=SCOZP599+JskZEsJUZu17AglzsBHhrht/4U7qSU0bGW+nSefKwiFeMCyUK36uDx2t 4LWh/Z5t9b7xsjJhrTy6OCeQqrfWQP6fzFhE3fhxs4VDwoaKiMJb5cAZ6cQGAxXIJU EbREBnc4iapEYezYGScbVFxlwgoQF4CB+ElSq0JI=
  • In-reply-to: <CAAL_pKJaS7ZG2_99NPh3v5TVrwTZx9zM7cqa5oFnf3U6Yu-N7A@mail.gmail.com>
  • References: <CAAL_pKJaS7ZG2_99NPh3v5TVrwTZx9zM7cqa5oFnf3U6Yu-N7A@mail.gmail.com>

20.06.2012, 18:18, "Dmitriy Tyugaev" <dtyugaev@xxxxxxxxx>:
> ., ,     basic  
>  :
> http://www.domain.ru/sort?b_date=2012-04-23&e_date=2012-08-05
>   -  :
>     location ~ ^/(sort)\?(.*)$ {
>       proxy_pass http://127.0.0.1:8080/$1?$2;
>       auth_basic "Admin Zone";
>       auth_basic_user_file /etc/nginx/.htpasswd;
>     }
>
>  , 
>

location = /sort {
    proxy_pass http://127.0.0.1:8080;
    auth_basic "Admin Zone";
    auth_basic_user_file /etc/nginx/.htpasswd;
}

-- 
br, Denis F. Latypoff.

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


 




Copyright © Lexa Software, 1996-2009.