/[adm]/puppet/modules/apache/templates/vhost_reverse_proxy.conf
ViewVC logotype

Contents of /puppet/modules/apache/templates/vhost_reverse_proxy.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 778 - (show annotations) (download)
Thu Jan 13 18:12:29 2011 UTC (14 years, 1 month ago) by misc
File size: 398 byte(s)
add a reverse proxy class
1 <VirtualHost *:80>
2 ServerName <%= name %>
3 # Serve static content directly
4 DocumentRoot /dev/null
5
6
7
8 ProxyRequests Off
9
10 <Proxy *>
11 Order deny,allow
12 Allow from all
13 </Proxy>
14
15 ProxyPass / <%= url %>
16 ProxyPassReverse / <%= url %>
17
18 <Location />
19 Allow from all
20 </Location>
21 </VirtualHost>
22

  ViewVC Help
Powered by ViewVC 1.1.30