fixed some include orders
This commit is contained in:
@@ -57,10 +57,10 @@ SecAuditLog /var/log/modsec_audit.log
|
|||||||
# scan uploaded files with clamv
|
# scan uploaded files with clamv
|
||||||
%USE_CLAMAV_UPLOAD%
|
%USE_CLAMAV_UPLOAD%
|
||||||
|
|
||||||
# include custom rules
|
|
||||||
%MODSECURITY_INCLUDE_CUSTOM_RULES%
|
|
||||||
|
|
||||||
# include OWASP CRS rules
|
# include OWASP CRS rules
|
||||||
%MODSECURITY_INCLUDE_CRS%
|
%MODSECURITY_INCLUDE_CRS%
|
||||||
%MODSECURITY_INCLUDE_CUSTOM_CRS%
|
%MODSECURITY_INCLUDE_CUSTOM_CRS%
|
||||||
%MODSECURITY_INCLUDE_CRS_RULES%
|
%MODSECURITY_INCLUDE_CRS_RULES%
|
||||||
|
|
||||||
|
# include custom rules
|
||||||
|
%MODSECURITY_INCLUDE_CUSTOM_RULES%
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
|
include /server-confs/*.conf;
|
||||||
%LISTEN_HTTP%
|
%LISTEN_HTTP%
|
||||||
%AUTO_LETS_ENCRYPT%
|
%AUTO_LETS_ENCRYPT%
|
||||||
%CUSTOM_HTTPS%
|
%CUSTOM_HTTPS%
|
||||||
@@ -25,5 +26,4 @@ server {
|
|||||||
%COOKIE_FLAGS%
|
%COOKIE_FLAGS%
|
||||||
%ERRORS%
|
%ERRORS%
|
||||||
%USE_FAIL2BAN%
|
%USE_FAIL2BAN%
|
||||||
include /server-confs/*.conf;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user