Subscribe

View this package for all CentOS/RHEL versions →

How to install nginx-module-set-misc in CentOS/RHEL 9 (x86_64)

NGINX Set-Misc module

License: BSD Vendor: GetPageSpeed LLC https://github.com/openresty/set-misc-nginx-module

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install nginx-module-set-misc

Description

Various set_xxx directives added to NGINX's rewrite module (md5/sha1, sql/json quoting, and many more). To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ndk_http_module.so; load_module modules/ngx_http_set_misc_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;