Listen a.b.c.d:443
<VirtualHost a.b.c.d:443>
ServerName example.org
# …SSL configuration…
ProxyRequests off
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
RequestHeader set X-Forwarded-Protocol "https"
Header edit Location ^http://(.*)$ https://$1
</VirtualHost>
No comments:
Post a Comment