提交 3069826d 编写于 作者: D Dmitriy Zaporozhets

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

Use a ? after the $request_uri to perform a valid Redirect while cloning...
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册