- {%- set apache
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- {%- set
- #
- # This /autogenerated by salt.
- # Modify the salt pillar that generates this file instead
- #
-
- LoadModule security2_module modules/
-
- <IfModule
- LoadModule /mod_unique_id.so
- </
- <IfModule
- # ModSecurity
- Include /*.conf
- Include modsecurity.d//*.conf
-
- # Default recommended configuration
- SecRuleEngine {{ sec_rule_engine }}
- SecRequestBodyAccess {{ sec_request_body_access }}
- SecRule REQUEST_HEADERS:Content-Type \
-
- SecRequestBodyLimit {{ sec_request_body_limit }}
- SecRequestBodyNoFilesLimit {{ sec_request_body_no_files_limit }}
- SecRequestBodyInMemoryLimit {{ sec_request_body_in_memory_limit }}
- SecRequestBodyLimitAction {{ sec_request_body_limit_action }}
- SecRule REQBODY_ERROR \
-
- SecRule MULTIPART_STRICT_ERROR \
-
-
-
- SecRule MULTIPART_UNMATCHED_BOUNDARY \
-
-
- SecPcreMatchLimit {{ sec_pcre_match_limit }}
- SecPcreMatchLimitRecursion {{ sec_pcre_match_limit_recursion }}
-
- SecRule TX:// \
-
-
- SecResponseBodyAccess Off
- SecDebugLog //log//modsec_debug.log
- SecDebugLogLevel {{ sec_debug_log_level }}
- SecAuditEngine RelevantOnly
- SecAuditLogRelevantStatus
- SecAuditLogParts ABIJDEFHZ
- SecAuditLogType Serial
- SecAuditLog //log//modsec_audit.log
- SecArgumentSeparator &
- SecCookieFormat 0
- SecTmpDir //lib/
- SecDataDir /var//mod_security
- </
|