How to install nginx-module-naxsi on Fedora Linux
NGINX Anti XSS & SQL Injection module
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Fedora 44 | ✓ | — | ✓ | 1.30.3+1.6 |
| Fedora 43 | ✓ | — | ✓ | 1.30.3+1.6 |
| Fedora 42 | ✓ | — | ✓ | 1.30.0+1.6 |
| Fedora 41 | ✓ | — | ✓ | 1.28.0+1.6 |
| Fedora 40 | ✓ | — | ✓ | 1.26.3+1.6 |
Description
NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX. This module, by default, reads a small subset of simple (and readable) rules containing 99% of known patterns involved in website vulnerabilities. For example, <, | or drop are not supposed to be part of a URI. Being very simple, those patterns may match legitimate queries, it is the Naxsi's administrator duty to add specific rules that will whitelist legitimate behaviours. The administrator can either add whitelists manually by analyzing nginx's error log, or (recommended) start the project with an intensive auto-learning phase that will automatically generate whitelisting rules regarding a website's behaviour. In short, Naxsi behaves like a DROP-by-default firewall, the only task is to add required ACCEPT rules for the target website to work properly. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_naxsi_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;
Built for Fedora Linux.
Install
nginx-module-naxsi on Fedora Linux 40, 41, 42, 43, 44
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install nginx-module-naxsi
Package downloads require an active GetPageSpeed subscription — one repository for nginx-module-naxsi and thousands more packages for Fedora Linux.
Subscribe — from $10/moFrequently asked questions
How do I install nginx-module-naxsi on Fedora Linux?
Add the GetPageSpeed repository, then install the nginx-module-naxsi package with your system package manager.
Which Fedora Linux versions is nginx-module-naxsi available for?
nginx-module-naxsi is available for Fedora 40, 41, 42, 43, 44.