# ************************************ # Managed by Puppet # ************************************ ServerName <%= @vhost_name %> <% if @serveraliases.is_a? Array -%> <% @serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%> <% elsif @serveraliases != '' -%> <%= " ServerAlias #{@serveraliases}" %> <% end -%> RewriteEngine On RewriteRule ^/(.*) https://<%= @vhost_name %>/$1 [last,redirect=permanent] LogLevel warn ErrorLog /var/log/apache2/<%= @vhost_name %>_error.log CustomLog /var/log/apache2/<%= @vhost_name %>_access.log combined ServerSignature Off ServerName <%= @vhost_name %> DocumentRoot <%= @docroot %> SSLEngine on SSLProtocol All -SSLv2 -SSLv3 # Once the machine is using something to terminate TLS that supports ECDHE # then this should be edited to remove the RSA+AESGCM:RSA+AES so that PFS # only is guarenteed. SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!AES256:!aNULL:!eNULL:!MD5:!DSS:!PSK:!SRP SSLHonorCipherOrder on SSLCertificateFile /etc/ssl/certs/releases.openstack.org.pem SSLCertificateKeyFile /etc/ssl/private/releases.openstack.org.key SSLCertificateChainFile /etc/ssl/certs/releases.openstack.org_intermediate.pem > Options Indexes FollowSymLinks MultiViews AllowOverride None Satisfy Any Require all granted LogLevel warn ErrorLog /var/log/apache2/<%= @vhost_name %>_error.log CustomLog /var/log/apache2/<%= @vhost_name %>_access.log combined ServerSignature Off