# Configuration for {{ dokuwiki_url }} # vim:ft=apache: # Accept connections from non-SNI clients SSLStrictSNIVHostCheck off # Website configuration ServerName {{ dokuwiki_url }} Redirect permanent / https://{{ dokuwiki_url }} SSLEngine on SSLCertificateFile /etc/pki/cert/crt/{{ dokuwiki_url }}.crt SSLCertificateKeyFile /etc/pki/cert/private/{{ dokuwiki_url }}.key SSLCertificateChainFile /etc/pki/cert/crt/{{ dokuwiki_url}}-fullchain.crt SSLCipherSuite {{ ssl_cipher_suite }} \ SSLOptions +StdEnvVars SSLOptions +StdEnvVars ServerName {{ dokuwiki_url }} DocumentRoot {{ dokuwiki_webroot }} Require all granted AllowOverride All Options MultiViews FollowSymlinks Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"