summarylogtreecommitdiffstats
path: root/modsecurity-crs.install
blob: 5abed1f05f5f7dbbafe73274d3c493a8b6ec22bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install(){
 cat <<INFO

To load the OWASP ModSecurity Core Rule Set in NginX or Angie,
add the following directives to your NginX or Angie configuration:


    load_module "/usr/lib/nginx/modules/ngx_http_modsecurity_module.so";

    http {
        modsecurity on;
        modsecurity_rules_file /etc/modsecurity/modsecurity.conf;
        modsecurity_transaction_id "$request_id";
    }


INFO
}