summaryrefslogtreecommitdiff
path: root/templates/vhosts/proxy/proxy.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/proxy/proxy.erb')
-rw-r--r--templates/vhosts/proxy/proxy.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vhosts/proxy/proxy.erb b/templates/vhosts/proxy/proxy.erb
index 5b1465f..885bce3 100644
--- a/templates/vhosts/proxy/proxy.erb
+++ b/templates/vhosts/proxy/proxy.erb
@@ -44,6 +44,8 @@
ProxyPassReverse / <%= options %>/
<%- end -%>
+<%= scope.function_template('apache/vhosts/partials/mod_security.erb') %>
+
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>
@@ -79,6 +81,8 @@
Header add Strict-Transport-Security "max-age=15768000"
+<%= scope.function_template('apache/vhosts/partials/mod_security.erb') %>
+
<Proxy *>
Order deny,allow
Allow from all