Merge pull request #7378 from jojosch/nginx-ssl-redirect
Use a ? after the $request_uri to perform a valid Redirect while cloning...
This commit is contained in:
commit
3069826d1a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue