Commit 3069826d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7378 from jojosch/nginx-ssl-redirect

Use a ? after the $request_uri to perform a valid Redirect while cloning...
parents ef4848a6 b5481afd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment