ServerName repository.eendoe.nl ProxyRequests off ProxyPreserveHost on RewriteEngine on RewriteCond %{SERVER_NAME} =repository.bnhmeijer.nl RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] Protocols h2 h2c http/1.1 ServerName repository.eendoe.nl DocumentRoot /sites/repository/binaries AllowOverride All Options FollowSymLinks Order deny,allow allow from all Require all granted Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/bm4.nl-0002/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/bm4.nl-0002/privkey.pem