Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-28 17:54:36 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-28 17:54:36 +0400
commit3069826d1aea24be9d1c7ba65fa199d5530a8123 (patch)
treedc4e009f8283d82f44f6aa83b6a9cded43d48dfb /lib/support
parentef4848a6ff561d6ec8e6ad1c4d630a56035d82d8 (diff)
parentb5481afd73798e08f49c32752bcd3de0cf8cbdca (diff)
Merge pull request #7378 from jojosch/nginx-ssl-redirect
Use a ? after the $request_uri to perform a valid Redirect while cloning...
Diffstat (limited to 'lib/support')
-rw-r--r--lib/support/nginx/gitlab-ssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl
index 90b4282b1fd..9ab228b46d7 100644
--- a/lib/support/nginx/gitlab-ssl
+++ b/lib/support/nginx/gitlab-ssl
@@ -56,7 +56,7 @@ server {
## Redirects all traffic to the HTTPS host
root /nowhere; ## root doesn't have to be a valid path since we are redirecting
- rewrite ^ https://$server_name$request_uri permanent;
+ rewrite ^ https://$server_name$request_uri? permanent;
}
## HTTPS host