Welcome! Log In Create A New Profile

Advanced

Re: Отрицание для location

July 05, 2010 03:10AM
On Mon, Jul 05, 2010 at 10:58:42AM +0400, Stanislav S. Osipov wrote:

> На самом деле, мне нужно было вот такое
>
> location / {
> if ($uri ~*
> (^\/|\.(jpe?g|gif|png|tiff?|ico|css|zip|tgz|tbz2?|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|mp3|flac|ape|flv|swf|html?|php|bmp|rtf|js(on)?))$)
> {
> break;
> }
> return 404;
> }
>
> Эх...

Какое счастье, что в своих конфигах я не вижу такого кошмара.


--
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Отрицание для location

lampoon June 24, 2010 08:08AM

Re: Отрицание для location

Maxim Dounin June 24, 2010 09:02AM

Re: Отрицание для location

lampoon June 24, 2010 04:32PM

Re: Отрицание для location

Maxim Dounin June 25, 2010 07:36AM

Re: Отрицание для location

Vladimir V. Perepelitsa June 27, 2010 05:28AM

Re: Отрицание для location

lampoon June 28, 2010 06:40AM

Re: Отрицание для location

Igor Sysoev June 28, 2010 06:46AM

Re: Отрицание для location

lampoon June 28, 2010 07:06AM

Re: Отрицание для location

Igor Sysoev June 28, 2010 07:12AM

Re: Отрицание для location

Oleksandr V. Typlyns'kyi June 28, 2010 07:24AM

Re: Отрицание для location

lampoon June 28, 2010 07:30AM

Re: Отрицание для location

Igor Sysoev June 28, 2010 08:10AM

Re: Отрицание для location

Gena Makhomed June 28, 2010 08:30AM

Re: Отрицание для location

Igor Sysoev June 28, 2010 08:42AM

Re: Отрицание для location

lampoon June 30, 2010 03:36AM

Re: Отрицание для location

Alexander Kochetov June 30, 2010 04:02AM

Re: Отрицание для location

lampoon June 30, 2010 04:12AM

Re: Отрицание для location

Yuriy Taraday June 30, 2010 04:16AM

Re: Отрицание для location

Igor Sysoev June 30, 2010 04:18AM

Re: Отрицание для location

lampoon June 30, 2010 04:22AM

Re: Отрицание для location

Igor Sysoev June 30, 2010 04:24AM

Re: Отрицание для location

lampoon July 05, 2010 03:00AM

Re: Отрицание для location

Igor Sysoev July 05, 2010 03:10AM

Re: Отрицание для location

lampoon July 06, 2010 04:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready