diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-28 17:54:36 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-28 17:54:36 +0400 |
commit | 3069826d1aea24be9d1c7ba65fa199d5530a8123 (patch) | |
tree | dc4e009f8283d82f44f6aa83b6a9cded43d48dfb /lib/support | |
parent | ef4848a6ff561d6ec8e6ad1c4d630a56035d82d8 (diff) | |
parent | b5481afd73798e08f49c32752bcd3de0cf8cbdca (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-ssl | 2 |
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 |