ServerName localhost
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
ServerName localhost
DocumentRoot /var/www/html
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:3DES:!aNULL:!MD5:!SEED:!IDEA
SSLCertificateFile ssl/autofirmado.crt
SSLCertificateKeyFile ssl/autofirmado.key
SSLOpenSSLConfCmd DHParameters "ssl/dhparam.pem"
Header always set Strict-Transport-Security "max-age=63072000; includeSibdomains;"
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access.log common