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:
Dmitriy Zaporozhets 2014-08-28 16:54:36 +03:00
commit 3069826d1a

View file

@ -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