/[adm]/puppet/deployment/websites/templates/vhost_www.conf
ViewVC logotype

Contents of /puppet/deployment/websites/templates/vhost_www.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2244 - (show annotations) (download)
Sat Jan 14 22:20:56 2012 UTC (12 years, 6 months ago) by misc
File size: 458 byte(s)
use a reverse proxy to access to mailman on zarb.org server ( finally found how to cleanly do it with ProxyPreserveHost )
1 Redirect /wiki https://wiki.mageia.org/#
2
3 ProxyRequests Off
4
5 <Proxy *>
6 Order deny,allow
7 Allow from all
8 </Proxy>
9
10 <%- if use_ssl then
11 protocol = 'https://'
12 else
13 protocol = 'http://'
14 end
15 -%>
16 <%- if use_ssl -%>
17 SSLProxyEngine On
18 <%- end -%>
19
20 ProxyPreserveHost On
21 ProxyPass /mailman/ <%= protocol %>://ryu.zarb.org/mailman/
22 ProxyPassReverse /mailman/ <%= protocol %>://ryu.zarb.org/mailman/
23
24 php_value short_open_tag false

  ViewVC Help
Powered by ViewVC 1.1.30