Changed the http-https redirect rule

As per comments by @sag47 here:
https://github.com/gitlabhq/gitlabhq/issues/4997#issuecomment-25738169
This commit is contained in:
semiosis
2013-10-04 21:10:35 -04:00
parent 98153fb3cc
commit eeea95da07

View File

@@ -14,7 +14,7 @@
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
</VirtualHost>
<VirtualHost *:443>