fixed some include orders

This commit is contained in:
bunkerity 2020-08-23 22:59:24 +02:00
parent bf605ce59d
commit 94b29a6ca2
3 changed files with 6 additions and 6 deletions

View File

@ -345,7 +345,7 @@ Values : *\<HTTP status codes separated with | char\>*
Default value : *400|401|403|404|405|444* Default value : *400|401|403|404|405|444*
List of "strange" error codes that fail2ban will search for. List of "strange" error codes that fail2ban will search for.
`FAIL2BAN_BANTIME` `FAIL2BAN_BANTIME`
Values : *<number of seconds>* Values : *<number of seconds>*
Default value : *3600* Default value : *3600*
The duration time, in seconds, of a ban. The duration time, in seconds, of a ban.
@ -377,7 +377,7 @@ Default value : *yes*
If set to yes, ClamAV will automatically remove the detected files. If set to yes, ClamAV will automatically remove the detected files.
## Misc ## Misc
`ADDITIONAL_MODULES` `ADDITIONAL_MODULES`
Values : *\<list of packages separated with space\>* Values : *\<list of packages separated with space\>*
Default value : Default value :
You can specify additional modules to install. All [alpine packages](https://pkgs.alpinelinux.org/packages) are valid. You can specify additional modules to install. All [alpine packages](https://pkgs.alpinelinux.org/packages) are valid.

View File

@ -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%

View File

@ -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;
} }