Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #61 from gefd/f-https-only-redirect

Fixes http redirects on https only vhost
  • Loading branch information...
commit 24c43c3c20342a0d8d2a600cfb7426a2b92e2d3a 2 parents 2f36f6d + d745bf9
Nihad Abbasov NARKOZ authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  apache/gitlab
3  apache/gitlab
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
Please sign in to comment.
Something went wrong with that request. Please try again.