/etc/nginx/naxsi.rules - Ubuntu 12.04 LTS (Precise Pangolin)

This is the default example configuration of naxsi.rules provided by nginx. This config file was generated by nginx running on Ubuntu 12.04.

It is located under: /etc/nginx/naxsi.rules

    # 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 12.04 LTS (Precise Pangolin)
Length
13 lines
MD5 checksum
8510ce5ff8d3a7a710fa42e127651594

Usage

Download the raw file with wget or curl

Wget

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

cURL

curl http://exampleconfig.com/static/raw/nginx/ubuntu12.04/etc/nginx/naxsi.rules > naxsi.rules.example