Fix vhost in hound Apache configuration
Calling just vhost_name in the Apache template was populating the file with a * for the name. Add the full scope so it finds what it needs. Change-Id: Ibd78236e31e729261ac96c6964f3c2d5796a9566
This commit is contained in:
parent
6ce0881b6a
commit
688aed48d3
|
@ -1,12 +1,12 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName <%= @vhost_name %>
|
||||
ServerName <%= scope.lookupvar("hound::vhost_name") %>
|
||||
ServerAdmin <%= @serveradmin %>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-error.log
|
||||
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("hound::vhost_name") %>-error.log
|
||||
|
||||
LogLevel warn
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-access.log combined
|
||||
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("hound::vhost_name") %>-access.log combined
|
||||
|
||||
<IfModule mod_proxy.c>
|
||||
RewriteEngine on
|
||||
|
|
Loading…
Reference in New Issue