bunkerweb 1.4.0
This commit is contained in:
16
examples/nextcloud/bw-data/modsec-crs/nextcloud.conf
Normal file
16
examples/nextcloud/bw-data/modsec-crs/nextcloud.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
SecAction \
|
||||
"id:900130,\
|
||||
phase:1,\
|
||||
nolog,\
|
||||
pass,\
|
||||
t:none,\
|
||||
setvar:tx.crs_exclusions_nextcloud=1"
|
||||
|
||||
# WebDAV
|
||||
SecAction \
|
||||
"id:900200,\
|
||||
phase:1,\
|
||||
nolog,\
|
||||
pass,\
|
||||
t:none,\
|
||||
setvar:'tx.allowed_methods=GET POST HEAD COPY DELETE LOCK MKCOL MOVE PROPFIND PROPPATCH PUT UNLOCK OPTIONS'"
|
||||
1
examples/nextcloud/bw-data/modsec/nextcloud.conf
Normal file
1
examples/nextcloud/bw-data/modsec/nextcloud.conf
Normal file
@@ -0,0 +1 @@
|
||||
SecRule REQUEST_FILENAME "@rx ^/remote.php/dav/files/" "id:1000,ctl:ruleRemoveByTag=attack-protocol,ctl:ruleRemoveByTag=attack-generic,nolog"
|
||||
Reference in New Issue
Block a user