After gzip was started, my colleagues found that the 360 browser, when accessing the sogou browser, had a pop-up download box problem. At that time, Some browsers using the IE kernel had this problem.
I used IE, but it was okay. When I tried it myself, I found that I did not have this problem on my 360. I felt very confused that I did not perform any operations.
Later, my wife saw the problem of not adding www. After a try, the difference between adding a WWW prefix and without WWW was true.
If abc.com is in chrome or Firefox, You can redirect to www.abc.com by yourself. But it won't work in IE and 360, And it turns into downloading an object.
Later, I found the following on the Internet:CodeJust join. However, I still don't know why this bug is caused by the addition of WWW.
Http://www.jb51.net/article/24598.htm
Server {
SERVER_NAME www.jb51.net jb51.net;
If ($ host! = 'Www .jb51.net '){
Rewrite ^/(. *) $ http://www.jb51.net/#1 permanent;
}
...
}