aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_reverse_proxy.conf
blob: 1488c682860fc2366008bbf7b0398fc16995e36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%= content %>

        ProxyRequests Off
        ProxyPreserveHost On

        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
<%- if url =~ /^https/ -%>
        SSLProxyEngine On
<%- end -%>
        ProxyPass / <%= url %>
        ProxyPassReverse / <%= url %>