Fixes http redirects on https only vhost #61

Merged
merged 2 commits into from May 4, 2013
Jump to file or symbol
Failed to load files and symbols.
+3 −0
Diff settings

Always

Just for now

View
@@ -24,6 +24,9 @@
SSLCertificateKeyFile /etc/apache2/ssl/server.key
#SSLCertificateChainFile /etc/apache2/ssl/cacert.pem
+ # Uncomment the following line to prevent redirects to http on https only vhosts
+ #RequestHeader set X-Forwarded-Proto "https"
+
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
ProxyPreserveHost On