ServerName www.example.com
Redirect / https://www.example.com/
ServerName www.example.com
DocumentRoot /var/www/dokuwiki
CustomLog /var/log/apache2/www.example.com-access.log combined
ErrorLog /var/log/apache2/www.example.com-error.log
SSLCertificateFile /etc/letsencrypt/live/www.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.example.com/privkey.pem
order deny,allow
allow from all
order allow,deny
deny from all
satisfy all