summaryrefslogtreecommitdiff
path: root/vhost.conf
blob: 0bdc5c781b7169e1b758fe7ef66f155956b250fa (plain)
1
2
3
4
5
6
7
8
9
10
11
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html
        ErrorLog /dev/stdout
        CustomLog /dev/stdout combined

        # LogLevel alert rewrite:trace6
        RewriteEngine On
        RewriteMap preview "prg://usr/local/bin/zuul-preview"
        RewriteRule "^/?(.*)$" "${preview:%{ENV:ZUUL_API_URL} %{HTTP_HOST}}/$1" [P]
</VirtualHost>