
According to https://wiki.apache.org/httpd/CommonMisconfigurations is is wrong to specify server name in opening tag. ServerName should be used instead. Indentations also fixed in some files. Change-Id: Id9d20a672103221efa01be61a174b62706036e57
14 lines
336 B
Plaintext
14 lines
336 B
Plaintext
<VirtualHost *:80>
|
|
ServerName <%= @vhost_name %>
|
|
ServerAdmin <%= @serveradmin %>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-access.log combined
|
|
|
|
ProxyPass / http://127.0.0.1:9292/ retry=0
|
|
ProxyPassReverse / http://127.0.0.1:9292/
|
|
</VirtualHost>
|