aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_reverse_proxy.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates/vhost_reverse_proxy.conf')
-rw-r--r--modules/apache/templates/vhost_reverse_proxy.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/apache/templates/vhost_reverse_proxy.conf b/modules/apache/templates/vhost_reverse_proxy.conf
index 23dc7545..4859bda3 100644
--- a/modules/apache/templates/vhost_reverse_proxy.conf
+++ b/modules/apache/templates/vhost_reverse_proxy.conf
@@ -1,3 +1,5 @@
+<%= @content %>
+
ProxyRequests Off
ProxyPreserveHost On
@@ -5,9 +7,9 @@
Order deny,allow
Allow from all
</Proxy>
-<%- if url =~ /^https/ -%>
+<%- if @url =~ /^https/ -%>
SSLProxyEngine On
<%- end -%>
- ProxyPass / <%= url %>
- ProxyPassReverse / <%= url %>
+ ProxyPass / <%= @url %>
+ ProxyPassReverse / <%= @url %>