diff options
Diffstat (limited to 'deployment/websites/templates/vhost_www.conf')
-rw-r--r-- | deployment/websites/templates/vhost_www.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_www.conf b/deployment/websites/templates/vhost_www.conf index 6f9ce779..5773670d 100644 --- a/deployment/websites/templates/vhost_www.conf +++ b/deployment/websites/templates/vhost_www.conf @@ -1,3 +1,24 @@ Redirect /wiki https://wiki.mageia.org/# +ProxyRequests Off + +<Proxy *> + Order deny,allow + Allow from all +</Proxy> + +<%- if use_ssl then + protocol = 'https://' + else + protocol = 'http://' + end +-%> +<%- if use_ssl -%> +SSLProxyEngine On +<%- end -%> + +ProxyPreserveHost On +ProxyPass /mailman/ <%= protocol %>://ryu.zarb.org/mailman/ +ProxyPassReverse /mailman/ <%= protocol %>://ryu.zarb.org/mailman/ + php_value short_open_tag false |