Skip to content

Commit

Permalink
WP exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuncle committed Jul 3, 2022
1 parent c3fb93a commit b0174be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx/modsec/WORDPRESS-EXCLUSION-RULES.conf
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,11 @@ SecRule REQUEST_FILENAME "@endsWith /wp-json/wp/v2/widget-types/text/encode" \
t:none,\
nolog,\
ctl:ruleRemoveById=941180"

SecRule REQUEST_FILENAME "@endsWith /wp-admin/widgets.php" \
"id:890012,\
phase:2,\
pass,\
t:none,\
nolog,\
ctl:ruleRemoveById=941180"

0 comments on commit b0174be

Please sign in to comment.