aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-16 19:17:29 +0000
committerMichael Scherer <misc@mageia.org>2012-01-16 19:17:29 +0000
commit749d451eed4285c0552413b02b6dbea931c0c28e (patch)
tree96e0468d61f210dedc5b64541e7e5444ad96b852 /deployment/websites/templates/vhost_proxy_mailman_ssl.conf
parentedede56b2b5872feba831b05a2a374017f6a41d9 (diff)
downloadpuppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.gz
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.bz2
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.tar.xz
puppet-749d451eed4285c0552413b02b6dbea931c0c28e.zip
also make the redirection work for pipermail, as seen by leuhmanu
Diffstat (limited to 'deployment/websites/templates/vhost_proxy_mailman_ssl.conf')
-rw-r--r--deployment/websites/templates/vhost_proxy_mailman_ssl.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/deployment/websites/templates/vhost_proxy_mailman_ssl.conf b/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
index 479b912d..e5fcfbe1 100644
--- a/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
+++ b/deployment/websites/templates/vhost_proxy_mailman_ssl.conf
@@ -9,6 +9,8 @@ ProxyPreserveHost On
SSLProxyEngine On
-ProxyPass /mailman/ https://ryu.zarb.org/mailman/
-ProxyPassReverse /mailman/ https://ryu.zarb.org/mailman/
+<% for u in ['/mailman/','/pipermail/'] %>
+ProxyPass <%= u %> https://ryu.zarb.org<%= u %>
+ProxyPassReverse <%= u %> https://ryu.zarb.org<%= u %>
+<% end %>