Skip to content

image-filter: NGINX image filter dynamic module

Installation

You can install this module in any RHEL-based distribution, including, but not limited to:

  • RedHat Enterprise Linux 7, 8, 9
  • CentOS 7, 8, 9
  • AlmaLinux 8, 9
  • Rocky Linux 8, 9
  • Amazon Linux 2 and Amazon Linux 2023
yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm 
yum -y install nginx-module-image-filter
dnf -y install https://extras.getpagespeed.com/release-latest.rpm 
dnf -y install nginx-module-image-filter

Enable the module by adding the following at the top of /etc/nginx/nginx.conf:

load_module modules/ngx_http_image_filter_module.so;

Directives

You may find information about configuration directives for this module at the following links: