Skip to content

Commit

Permalink
Update templates/vhost/_security.epp
Browse files Browse the repository at this point in the history
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
  • Loading branch information
JGodin-C2C and ekohl authored Feb 27, 2024
1 parent 5a4bead commit 1dba91f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions templates/vhost/_security.epp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<IfModule mod_security2.c>
<% if $modsec_disable_vhost {-%>
SecRuleEngine Off
<% } else { -%>
SecRuleEngine On
<% } -%>
SecRuleEngine <%= apache::bool2httpd(!$modsec_disable_vhost) %>
<% if $modsec_audit_log_destination {-%>
SecAuditLog "<%= $modsec_audit_log_destination %>"
<% } -%>
Expand Down

0 comments on commit 1dba91f

Please sign in to comment.