12 lines
389 B
Plaintext
12 lines
389 B
Plaintext
<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>
|