Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $referer_host
- To: nginx-ru@xxxxxxxxx
- Subject: Re: $referer_host
- From: Alexandr Gomoliako <zzz@xxxxxxxxxx>
- Date: Sun, 29 May 2011 20:51:06 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qGgQOZ9baEfVnARlCVY6KbM6QBitb9s3Rjc8TqyN74A=; b=P163M/VCFPbVi6eUVWgskpogsGcxGGdMKN6JW++i6QIKTGHjyUUpKgVUGg0RmspMzE oZtoq9Xo8CAs/clLoC+mJvgAR4iT7gkSuaFFP4wVFCsjSYOYnxV6dn4s5lZVqIJAH6E3 wEKNC3axmf8avPSWWd2WmxMxAvZGApXEyIXOQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=u8MpW/qHtZkDmE9oVL9YdnSVfFgw4k1AwycOPROGc957LhieaaRj6lySQblvYPoPed QQSyTyFKxZLognoTG/JJi78/EU4/aW6Jyd/L4ao1HqldHeI25wYWZc5JbMW1C9vEKimW YtSkXPGAcDZaoZgZRd5GOGWGQGorgnt8nqo+0=
- In-reply-to: <20110529172632.GA29394@xxxxxxxxx>
- References: <BANLkTi=z8vD=Nfw2VvjbvLXFTwzkUW0DmA@xxxxxxxxxxxxxx> <20110529172632.GA29394@xxxxxxxxx>
On 5/29/11, Igor Sysoev <igor@xxxxxxxxx> wrote:
> map $http_referer $referer_host {
> default "";
> ~^https?://(?<H>[^:/]+) $H;
> }
Ну я уже и не вспомнил, что в 0.9.6 добавили регулярные выражения в
него. Да и гитхаб хотелось попробовать.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|