# Configuration for {{ nextcloud_url }}
# vim:ft=apache:
# Listen for virtual host requests
NameVirtualHost *:443
# Accept connections from non-SNI clients
SSLStrictSNIVHostCheck off
# Website configuration
ServerName {{ nextcloud_url }}
# Uncomment me for HTTPS redirection
# Leaving it off for now for testing
#Redirect permanent / https://{{ nextcloud_url }}
DocumentRoot {{ nextcloud_webroot }}
SSLEngine on
SSLCertificateFile /etc/pki/cert/crt/{{ nextcloud_url }}.crt
SSLCertificateKeyFile /etc/pki/cert/private/{{ nextcloud_url }}.key
\
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
ServerName {{ nextcloud_url }}
DocumentRoot {{ nextcloud_webroot }}