Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit 79063a0

Browse files
committed
add nextcloud cookbook app rule exclusion for modsecurity
1 parent d78d7ed commit 79063a0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

ingress-nginx/modsecurity_plugins_configmap.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3124,3 +3124,15 @@ data:
31243124
nolog,\
31253125
ver:'nextcloud-rule-exclusions-plugin/1.2.0',\
31263126
setvar:'tx.allowed_methods=%{tx.allowed_methods} DELETE'"
3127+
3128+
##############################################
3129+
# Custom unsupported Cookbook updates :)
3130+
##############################################
3131+
## Editing a recipe in Nextcloud Cookbook
3132+
SecRule REQUEST_FILENAME "@rx /apps/cookbook/webapp/recipes/[0-9]+$" \
3133+
"id:20041,\
3134+
phase:1,\
3135+
pass,\
3136+
t:none,\
3137+
nolog,\
3138+
setvar:'tx.allowed_methods=%{tx.allowed_methods} PUT'"

0 commit comments

Comments
 (0)