nginx: [emerg] unknown directive “image_filter” in


yum install nginx-mod-http-image-filter

After install it .so file (module) should be located at /usr/lib64/nginx/modules/.
To load it, edit /etc/nginx/nginx.conf and place the following line at the start of the file

load_module /usr/lib64/nginx/modules/;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.