On Monday 30 January 2012 20:03:26 Humster wrote:
> Добрый день,
>
> Проблема следующая. Делаю конструкцию
> типа
>
> 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 -;
> }
>
> все нормально работает.
>
> Скажите, пожалуйста, это фича или баг?
>
http://www.nginx.org/ru/docs/http/ngx_http_image_filter_module.html#image_filter
"контекст: location"
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru