summaryrefslogtreecommitdiff
path: root/templates/vhosts/webdav
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-18 00:09:32 +0200
committermh <mh@immerda.ch>2010-08-18 00:09:32 +0200
commitab7b8230d40c31cf995e51c4b43ded2c524122e0 (patch)
tree70663a3aec238d0b2f8c833a2ba95ff5e57d04de /templates/vhosts/webdav
parent12f2139146fddbc7ca81ecb1cc0c84e5a31e3b62 (diff)
add missing directive for ssl proxy vhosts
Diffstat (limited to 'templates/vhosts/webdav')
-rw-r--r--templates/vhosts/webdav/webdav.erb9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/vhosts/webdav/webdav.erb b/templates/vhosts/webdav/webdav.erb
index a7dfa37..ad0aba1 100644
--- a/templates/vhosts/webdav/webdav.erb
+++ b/templates/vhosts/webdav/webdav.erb
@@ -222,8 +222,8 @@
ProxyPreserveHost On
ProxyRequests off
- ProxyPass / https://127.0.0.1/
- ProxyPassReverse / https://127.0.0.1/
+ ProxyPass / http://127.0.0.1/
+ ProxyPassReverse / http://127.0.0.1/
<%- if ssl_mode.to_s == 'force' then -%>
Redirect permanent / https://<%= servername %>/
@@ -287,8 +287,9 @@
ProxyPreserveHost On
ProxyRequests off
- ProxyPass / http://127.0.0.1/
- ProxyPassReverse / http://127.0.0.1/
+ SSLProxyEngine On
+ ProxyPass / https://127.0.0.1/
+ ProxyPassReverse / https://127.0.0.1/
<%- if default_charset.to_s != 'absent' then -%>
AddDefaultCharset <%= default_charset %>