ServerName git.example2.com ServerAlias www.git.example2.com SSLEngine on SSLProxyEngine on ProxyRequests Off ProxyPreserveHost On ProxyVia full Order deny,allow Allow from all AllowEncodedSlashes NoDecode ProxyPass / https://localhost:3000/ nocanon ProxyPassReverse / https://localhost:3000 Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/git.example2.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/git.example2.com/privkey.pem