# 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
SSLProtocol {{ ssl_protocol }}
SSLCipherSuite {{ ssl_cipher_suite }}
\
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
ServerName {{ gitweb_url }}
DocumentRoot {{ gitweb_webroot }}
Require all granted
AllowOverride All
Options MultiViews FollowSymlinks
IncludeOptional /etc/apache2/includes/{{ gitweb_url }}.conf