aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/templates/vhost_reverse_proxy.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_reverse_proxy.conf b/modules/apache/templates/vhost_reverse_proxy.conf
index 94866be5..63623c84 100644
--- a/modules/apache/templates/vhost_reverse_proxy.conf
+++ b/modules/apache/templates/vhost_reverse_proxy.conf
@@ -4,7 +4,9 @@
Order deny,allow
Allow from all
</Proxy>
-
+<%- if url =~ /^https/ -%>
+ SSLProxyEngine On
+<%- end -%>
ProxyPass / <%= url %>
ProxyPassReverse / <%= url %>