Protocols h2 h2c http/1.1 ServerName egatekeeper.com ProxyRequests off ProxyPreserveHost on ProxyPass / http://127.0.0.1:8080/ RewriteEngine on RewriteCond %{SERVER_NAME} =egatekeeper.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]