20 lines
490 B
Plaintext
20 lines
490 B
Plaintext
<VirtualHost *:80>
|
|
ServerName <%= scope.lookupvar("hound::vhost_name") %>
|
|
ServerAdmin <%= @serveradmin %>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("hound::vhost_name") %>-error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("hound::vhost_name") %>-access.log combined
|
|
|
|
<IfModule mod_proxy.c>
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^/(.*)$ http://localhost:6080/$1 [P]
|
|
ProxyPassReverse / http://localhost:6080/
|
|
</IfModule>
|
|
|
|
|
|
</VirtualHost>
|