Skip to content

Fixes http redirects on https only vhost #61

Merged
merged 2 commits into from May 4, 2013
View
3 apache/gitlab
@@ -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
Something went wrong with that request. Please try again.