Welcome! Log In Create A New Profile

Advanced

image_filter qq

January 30, 2012 11:03AM
Добрый день,

Проблема следующая. Делаю конструкцию типа

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
Subject Author Posted

image_filter qq

Humster January 30, 2012 11:03AM

Re: image_filter qq

Валентин Бартенев January 30, 2012 11:26AM

Re: image_filter qq

Humster January 30, 2012 11:43AM

Re: image_filter qq

Валентин Бартенев January 30, 2012 11:54AM

Re: image_filter qq

Humster January 30, 2012 12:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready