ServerName tabitha.biz ServerAlias www.tabitha.biz RewriteEngine On RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L] ServerName tabitha.biz ServerAlias www.tabitha.biz Include conf.d/ssl.include SSLCertificateKeyFile /etc/pki/tls/private/tabitha.biz.key SSLCertificateFile /etc/pki/tls/certs/tabitha.biz.cer Header always set \ Strict-Transport-Security "max-age=63072000; includeSubDomains" DocumentRoot /srv/www/tabitha/htdocs Require all granted