# Configuration for {{ gitweb_url }}
# vim:ft=apache:
# Accept connections from non-SNI clients
SSLStrictSNIVHostCheck off
# Website configuration
ServerName {{ gitweb_url }}
Redirect permanent / https://{{ gitweb_url }}
SSLEngine on
SSLCertificateFile /etc/pki/cert/crt/{{ gitweb_url }}.crt
SSLCertificateKeyFile /etc/pki/cert/private/{{ gitweb_url }}.key
SSLCertificateChainFile /etc/pki/cert/crt/{{ gitweb_url}}-fullchain.crt
\
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
ServerName {{ gitweb_url }}
DocumentRoot {{ gitweb_webroot }}
Require all granted
AllowOverride All
Options MultiViews FollowSymlinks