Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: не обрабатывается локейшн
- To: nginx-ru@xxxxxxxxx
- Subject: Re: не обрабатывается локейшн
- From: Denis Kot <denis.kot@xxxxxxxxx>
- Date: Thu, 31 May 2012 17:05:20 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=i6W/y1i4muleBVkhL1pduuZhpqwb2h0Ogkf9RbGZBd4=; b=hVlCSIieY+ngnEGudxHvC+zIlQlCk8Q+PV0NPiwMCvHDMcSi2JBYdy/rrHGr02u41g Xm9agsJQNhLxWbNd1F9C2UaPxF2wsRgPrVXrky/1fpMGunSXbrQ3QpVwdyoB+t/eHSIp +Goaw3wwOJeDOF6rvNEgVXAwtSYBnFKnIG+a0VgLfsLhLb5Bh4BNhfweKl8/omd5M0f5 qqlGtL9QdYfB67fusE0zKhhiU++wOuMmxGuHbEc/JmxJL3oSMajVBZR0sKgR+8zULS8W pN0d40FNUSg5T9Q84PYy1qWtCx1IHhGU4JBASkjgcYAoBEc+kWBgI/+zChn/2pItpQOn Z1yQ==
- In-reply-to: <4FC773BF.5020903@citrin.ru>
- References: <CAFGLPOczXudwaOfKFMx00S=Sp8iKs2g-CX_ajBqzLpi4+qPTJg@mail.gmail.com> <4FC773BF.5020903@citrin.ru>
Спасибо, помогло. А "/etc/passwd /etc//passwd /etc/X11/../passwd
/etc/././passwd" отлично обрабатывается "^.*/etc/passwd.*$".
Denis Kot
31 мая 2012 г., 16:35 пользователь Anton Yuzhaninov <citrin@xxxxxxxxx> написал:
> if ($args ~ "/etc/passwd") {
> return 403;
> }
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|