37 lines
939 B
Plaintext
37 lines
939 B
Plaintext
#
|
|
# This file autogenerated by Puppet
|
|
# Do not edit, changes will be overwritten
|
|
#
|
|
|
|
# SSL support
|
|
<% if @osfamily == 'RedHat' -%>
|
|
LoadModule ssl_module modules/mod_ssl.so
|
|
<% end -%>
|
|
|
|
SSLPassPhraseDialog builtin
|
|
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
|
|
SSLSessionCacheTimeout 300
|
|
SSLMutex default
|
|
SSLRandomSeed startup file:/dev/urandom 256
|
|
SSLRandomSeed connect builtin
|
|
SSLCryptoDevice builtin
|
|
|
|
<% if @use_syslog -%>
|
|
ErrorLog syslog:local1
|
|
<% end -%>
|
|
|
|
<VirtualHost *:80>
|
|
RedirectMatch permanent ^/$ <%= @root_url %>/
|
|
RewriteEngine On
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
RedirectMatch permanent ^/$ <%= @root_url %>/
|
|
SSLEngine on
|
|
SSLProtocol +TLSv1
|
|
SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!EXP:!LOW:!MEDIUM
|
|
SSLCertificateFile <%= @ssl_cert_file %>
|
|
SSLCertificateKeyFile <%= @ssl_key_file %>
|
|
</VirtualHost> |