Jump to letter: [
MNS
]
sw-nginx-module-compression-vary in CentOS/RHEL 7 (x86_64) - Enhanced Vary header handling for compression
- Description:
The compression vary filter module is a header filter used instead of the
standard gzip_vary directive. It provides more control over Vary header
handling for gzip, brotli, and zstd compression, which is important for
proper cache behavior with compressed content.
After installation, enable this module by running:
plesk sbin nginx_modules_ctl --enable compression-vary
- Distro notes:
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
How to Install sw-nginx-module-compression-vary in CentOS/RHEL 7 (x86_64)
Important: The Plesk control panel must be installed on your server before using this repository.
# The Plesk control panel must be installed on your server.
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-plesk
sudo yum -y install sw-nginx-module-compression-vary
Packages