主域名 cilicili.icu,副域名 www.cilicli.icu,为什么浏览器输入 www.cilicili.icu 会自动转成 cilicili.icu,我的 nginx 上全查过了,没有设置重定向,连主域名的字段都没出现,但是在访问日志里为什么会有重定向啊,到底哪里出问题了?主域名都已经解绑了还是这样...
127.0.0.1 - [13/Jul/2021:21:26:37 +0800] "GET / HTTP/1.1" 301 5 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" "" 136.144.41.150 - [13/Jul/2021:21:26:57 +0800] "POST /boaform/admin/formLogin HTTP/1.1" 403 153 "http://27.124.37.185:80/admin/login.asp" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "" 136.144.41.150 - [13/Jul/2021:21:26:58 +0800] "" 400 0 "" "" "" 122.238.126.152 - [13/Jul/2021:21:28:42 +0800] "GET / HTTP/1.1" 301 169 "" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1" "" 127.0.0.1 - [13/Jul/2021:21:28:45 +0800] "GET / HTTP/1.1" 301 5 "" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1" ""
1
yuzo555 2021-07-13 21:54:40 +08:00 1
> curl -I "https://www.cilicili.icu/" -L
HTTP/1.1 301 Moved Permanently Server: nginx/1.19.9 Date: Tue, 13 Jul 2021 13:53:06 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive X-Powered-By: PHP/8.0.3 Set-Cookie: argon_user_token=4833d4a5adbd9451c481dc805fe31bc7; expires=Fri, 11-Jul-2031 13:53:06 GMT; Max-Age=315360000; path=/ Set-Cookie: PHPSESSID=e08gevhmhklqep6i1dhmdm8rvk; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache X-Redirect-By: WordPress Location: https://cilicili.icu/ WordPress 还算好心的,加了个头告诉你是它干的。 |