nginx naxsi.rules configuration example for Ubuntu 14.04 LTS (Trusty Tahr)

Get the default configuration file naxsi.rules for nginx, optimized for Ubuntu 14.04 LTS (Trusty Tahr). This example configuration ensures optimal compatibility and performance for nginx, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/nginx/naxsi.rules.

For more configurations and setup guides, visit our related files section to further customize your system.

    # Sample rules file for default vhost.

LearningMode;
SecRulesEnabled;
#SecRulesDisabled;
DeniedUrl "/RequestDenied";

## check rules
CheckRule "$SQL >= 8" BLOCK;
CheckRule "$RFI >= 8" BLOCK;
CheckRule "$TRAVERSAL >= 4" BLOCK;
CheckRule "$EVADE >= 4" BLOCK;
CheckRule "$XSS >= 8" BLOCK;

    
  

Config Details

Location
/etc/nginx/naxsi.rules
Operating system
Ubuntu 14.04 LTS (Trusty Tahr)
Length
13 lines
MD5 checksum
8510ce5ff8d3a7a710fa42e127651594

Usage

Download the raw file with wget or curl

Wget

wget -O naxsi.rules.example https://exampleconfig.com/static/raw/nginx/ubuntu14.04/etc/nginx/naxsi.rules

cURL

curl https://exampleconfig.com/static/raw/nginx/ubuntu14.04/etc/nginx/naxsi.rules > naxsi.rules.example