10bb4095f0
Alteration of the Apache configuration for apply in the Ubuntu Precise. It was changed for mod_disk_cache because mod_cache_disk not exist for the Precise and check Apache Version due the parameter "Require all Granted". Change-Id: Icc1d13fc39058f147bdbb1e6b9a810143051ece4 Co-Authored-By: Maitê Balhester <mbalhest@thoughtworks.com>
23 lines
581 B
Plaintext
23 lines
581 B
Plaintext
<% unless [443, 80].include?(@vhost_port.to_i) %>
|
|
Listen <%= @vhost_port %>
|
|
<% end %>
|
|
<VirtualHost *:<%= @vhost_port %>>
|
|
ServerName <%= @vhost_name %>
|
|
ServerAdmin <%= @serveradmin %>
|
|
|
|
LogLevel info
|
|
CustomLog ${APACHE_LOG_DIR}/openstack-health-frontend-access.log combined
|
|
ErrorLog ${APACHE_LOG_DIR}/openstack-health-frontend-error.log
|
|
|
|
<Directory <%= @frontend_dir %>>
|
|
Order allow,deny
|
|
Allow from all
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
</Directory>
|
|
|
|
DocumentRoot <%= @frontend_dir %>
|
|
DirectoryIndex index.html
|
|
</VirtualHost>
|