Skip to content

Commit

Permalink
Merge pull request #91 from elaman/master
Browse files Browse the repository at this point in the history
Include modsecurity config for drupal10+
  • Loading branch information
csandanov authored May 10, 2024
2 parents d6802a9 + 02501cf commit 5d2d2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/includes/modsecurity.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Include /etc/nginx/modsecurity/recommended.conf
Include /etc/nginx/modsecurity/crs/setup.conf
{{- end }}

{{- 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") }}
{{- 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") }}
SecAction \
"id:900130,\
phase:1,\
Expand Down

0 comments on commit 5d2d2c9

Please sign in to comment.