Merge "Fix scope of vhost template variables"

This commit is contained in:
Zuul 2018-06-20 08:41:27 +00:00 committed by Gerrit Code Review
commit cbd5245570
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Listen <%= @vhost_port %>
CustomLog ${APACHE_LOG_DIR}/openstack-health-frontend-access.log combined CustomLog ${APACHE_LOG_DIR}/openstack-health-frontend-access.log combined
ErrorLog ${APACHE_LOG_DIR}/openstack-health-frontend-error.log ErrorLog ${APACHE_LOG_DIR}/openstack-health-frontend-error.log
<Directory <%= @frontend_dir %>> <Directory <%= scope.lookupvar('::openstack_health::vhost::frontend_dir') %>>
Order allow,deny Order allow,deny
Allow from all Allow from all
<IfVersion >= 2.4> <IfVersion >= 2.4>
@ -17,6 +17,6 @@ Listen <%= @vhost_port %>
</IfVersion> </IfVersion>
</Directory> </Directory>
DocumentRoot <%= @frontend_dir %> DocumentRoot <%= scope.lookupvar('::openstack_health::vhost::frontend_dir') %>
DirectoryIndex index.html DirectoryIndex index.html
</VirtualHost> </VirtualHost>