diff options
-rw-r--r-- | deployment/websites/templates/vhost_proxy_mailman.conf | 6 | ||||
-rw-r--r-- | deployment/websites/templates/vhost_proxy_mailman_ssl.conf | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/deployment/websites/templates/vhost_proxy_mailman.conf b/deployment/websites/templates/vhost_proxy_mailman.conf index e57679b4..ef447f9c 100644 --- a/deployment/websites/templates/vhost_proxy_mailman.conf +++ b/deployment/websites/templates/vhost_proxy_mailman.conf @@ -7,6 +7,8 @@ ProxyPreserveHost On Allow from all </Proxy> -ProxyPass /mailman/ http://ryu.zarb.org/mailman/ -ProxyPassReverse /mailman/ http://ryu.zarb.org/mailman/ +<% for u in ['/mailman/','/pipermail/'] %> +ProxyPass <%= u %> http://ryu.zarb.org<%= u %> +ProxyPassReverse <%= u %> http://ryu.zarb.org<%= u %> +<% end %> 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 %> |