Skip to content

Commit 5d2d2c9

Browse files
authored
Merge pull request #91 from elaman/master
Include modsecurity config for drupal10+
2 parents d6802a9 + 02501cf commit 5d2d2c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/includes/modsecurity.conf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Include /etc/nginx/modsecurity/recommended.conf
44
Include /etc/nginx/modsecurity/crs/setup.conf
55
{{- end }}
66

7-
{{- if or (eq (getenv "NGINX_VHOST_PRESET") "drupal9") (eq (getenv "NGINX_VHOST_PRESET") "drupal8") (eq (getenv "NGINX_VHOST_PRESET") "drupal7") (eq (getenv "NGINX_VHOST_PRESET") "drupal6") }}
7+
{{- if or (eq (getenv "NGINX_VHOST_PRESET") "drupal11") (eq (getenv "NGINX_VHOST_PRESET") "drupal10") (eq (getenv "NGINX_VHOST_PRESET") "drupal9") (eq (getenv "NGINX_VHOST_PRESET") "drupal8") (eq (getenv "NGINX_VHOST_PRESET") "drupal7") (eq (getenv "NGINX_VHOST_PRESET") "drupal6") }}
88
SecAction \
99
"id:900130,\
1010
phase:1,\

0 commit comments

Comments
 (0)