Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: location
- To: nginx-ru@xxxxxxxxx
- Subject: Re: location
- From: Roxis <roxis@xxxxxxx>
- Date: Thu, 20 Sep 2007 12:32:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=BIwFJnw9jmjQQpiU+4sr79dzIDx1nVc22PpnBhEx7Vs=; b=EDSzuRAERd/u26KXi+1HV3a66hJfIkoMa384R7WSz2tu7B7DCrs+uaa/Z0rhFdeXy7nrUqtwPc0YU8K1xcVUsZNvqA3gldxGm2e/ogibYfHhRc2GXXxTeF7ZDIIsl77PqU0C2cAZUl8qiqy5m9tlHdFCdQfzhU16n4y2WREhftc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=blX6RsgXhG9afniUEFsJne5P0EMaKwWroLHj3cYX5uifdlgwP5bfOE9kj5RZAzhi9VnQ5z+Seqn357FLO4HoXAl7FrMOfWKQjzRyakZ1CMbVynxpNszoynbMybp799Tq7h1kB+fP1JcRV+/eXPP72jygTcOZUxlvAaTmKiDhipw=
- In-reply-to: <002701c7fb6f$76d17a90$64746fb0$@com>
- References: <002701c7fb6f$76d17a90$64746fb0$@com>
On Thursday 20 September 2007, Denis Otvalko wrote:
> Добрый день!
>
> 2007/09/20 13:01:12 [debug] 1219#0: *1 find location for "/admin/pic.gif"
> 2007/09/20 13:01:12 [debug] 1219#0: *1 find location: "/"
> 2007/09/20 13:01:12 [debug] 1219#0: *1 find location: "/admin/"
> 2007/09/20 13:01:12 [debug] 1219#0: *1 find location: ~
> "^.+\.(jpg|jpeg|gif|png|swf)$"
> 2007/09/20 13:01:12 [debug] 1219#0: *1 using configuration
> "^.+\.(jpg|jpeg|gif|png|swf)$"
>
> Подскажите из каких соображений выбирается один из трёх location?
>
> С уважением,
> Денис Отвалко
http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#location
после первого совпадения регулярного выражения поиск прекращается
|