Subscribe

How to install nginx-module-jpeg in CentOS/RHEL 7 (x86_64)

NGINX JPEG filter module

License: BSD-2-Clause Vendor: GetPageSpeed LLC https://github.com/ioppermann/modjpeg-nginx

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable getpagespeed-extras-mainline
sudo yum -y install nginx-module-jpeg

Description

NGINX filter module for adding overlays and logos to JPEGs on-the-fly without degrading the quality of the image To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_jpeg_filter_module.so; Alternatively, you can enable all installed modules by placing this line at the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;

RPMs