Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
image_filter qq
- To: nginx-ru@xxxxxxxxx
- Subject: image_filter qq
- From: "Humster" <nginx-forum@xxxxxxxx>
- Date: Mon, 30 Jan 2012 11:03:26 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=UkV+/Jxl9S0F4x38Q4rgvU8GD/yNy1CmjM7Njlj1KXo=; b=sPxukI8ayK1wDRUv/IH+NIwlH6JzX1YK1MOMO567YrcQSrSuBW7H/ArK12OhqWcQQbEWUPD/B+DL+w/kNCyiogdMeiAW/miScnK2Duzef/J7D+zE9DIswNniSmiB1uX5;
Добрый день,
Проблема следующая. Делаю конструкцию
типа
location ~ \.jpg {
if ( $arg_resize ) {
image_filter resize $arg_w -;
}
}
nginx ругается: "image_filter" directive is not allowed here.
А вот так:
location ~ \.jpg {
image_filter resize $arg_w -;
}
все нормально работает.
Скажите, пожалуйста, это фича или баг?
--
Humster
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,221794,221794#msg-221794
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|