ServerName {{ dist_git_fqdn }} DocumentRoot {{ dist_git_base_dir }} # Redirect all HTTP traffic to HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ServerName {{ dist_git_fqdn }} DocumentRoot {{ dist_git_base_dir }} SSLEngine on SSLCertificateFile /etc/pki/dist-git/dist-git.crt SSLCertificateKeyFile /etc/pki/dist-git/dist-git.key # Lookaside Cache Alias /sources {{ dist_git_cache_dir }} Require all granted