aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_reverse_proxy.conf
blob: 24c2d12bf4b9dc90d623d3ec77d330c035096531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<VirtualHost *:80>
        ServerName <%= name %>
        # Serve static content directly
        DocumentRoot  /dev/null



        ProxyRequests Off

        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>

        ProxyPass / <%= url %>
        ProxyPassReverse / <%= url %>

        <Location />
            Allow from all
        </Location>
</VirtualHost>