Nginx image_filter problem.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nginx image_filter problem.

Mahesh Biloniya
Dear Sir/Madam,
                  I am currently setup a nginx server and in the process i am facing a problem related to "Module ngx_http_image_filter_module". I did all configuration as mention below :
      # apt-get install libgd-dev
      #./configure --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-     path=/var/run/nginx.pid --with-pcre --with-select_module --with-http_image_filter_module=dynamic --modules-path=/etc/nginx/modules
      # make
      # make install 
But now i am getting "nginx: [emerg] unknown directive "image_filter" in /etc/nginx/nginx.conf:38" in nginx.conf file. How can i remove it. Please provide a suitable solution. 
 Thanks 
Regards
Mahesh


_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: Nginx image_filter problem.

Francis Daly
On Fri, Oct 26, 2018 at 10:39:56AM +0530, Mahesh Biloniya wrote:

Hi there,

> #./configure --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-     path=/var/run/nginx.pid --with-pcre --with-select_module --with-http_image_filter_module=dynamic --modules-path=/etc/nginx/modules

> But now i am getting "nginx: [emerg] unknown directive "image_filter" in /etc/nginx/nginx.conf:38" in nginx.conf file.

That message means that the matching module is not available in the
nginx being used.

For a dynamic module, you must "load_module" it
(http://nginx.org/r/load_module) to let nginx know that you want to use
this module.

        f
--
Francis Daly        [hidden email]
_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx