RequestHeader set X-Forwarded-Proto "https" ServerName {{project.domain}} ServerAlias www.{{project.domain}} Alias /gorilla-maintenance /var/www/localhost DocumentRoot /var/www/localhost SSLEngine on SSLProxyEngine On SSLCertificateFile /root/templates/localhost.crt SSLCertificateKeyFile /root/templates/localhost.key ProxyPreserveHost On ProxyPass /gorilla-maintenance ! ProxyPass / http://{{project.domain}}/ ProxyPassReverse / http://{{project.domain}}/