ServerName <%= scope.lookupvar("zanata::apache::vhost_name") %>
ServerAdmin <%= scope.lookupvar("zanata::apache::serveradmin") %>
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("zanata::apache::vhost_name") %>-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("zanata::apache::vhost_name") %>-access.log combined
Redirect / https://<%= scope.lookupvar("zanata::apache::vhost_name") %>/
ServerName <%= scope.lookupvar("zanata::apache::vhost_name") %>
ServerAdmin <%= scope.lookupvar("zanata::apache::serveradmin") %>
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("zanata::apache::vhost_name") %>-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("zanata::apache::vhost_name") %>-access.log combined
SSLEngine on
SSLProtocol All -SSLv2 -SSLv3
SSLCertificateFile <%= scope.lookupvar("zanata::apache::ssl_cert_file") %>
SSLCertificateKeyFile <%= scope.lookupvar("zanata::apache::ssl_key_file") %>
<% if scope.lookupvar("zanata::apache::ssl_chain_file") != "" %>
SSLCertificateChainFile <%= scope.lookupvar("zanata::apache::ssl_chain_file") %>
<% end -%>
ProxyPass / ajp://127.0.0.1:8009/ retry=0