15 lines
515 B
Plaintext
15 lines
515 B
Plaintext
# Main ModSecurity include file for nginx.
|
|
# Load this from nginx with:
|
|
# modsecurity on;
|
|
# modsecurity_rules_file /etc/nginx/modsecurity/main.conf;
|
|
|
|
# Base ModSecurity defaults (from your installed package/image)
|
|
Include /etc/nginx/modsecurity/modsecurity.conf
|
|
|
|
# CRS tuning first, then CRS rules
|
|
Include /etc/nginx/modsecurity/crs-setup/custom-pl4.conf
|
|
Include /etc/nginx/modsecurity/owasp-crs/rules/*.conf
|
|
|
|
# Project-specific hardening rules loaded after CRS
|
|
Include /etc/nginx/modsecurity/custom-rules.conf
|