mirror of
https://github.com/jlengrand/gitlab-recipes.git
synced 2026-03-10 08:11:17 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user