陆零云
28
0
换域名那次留下了四层跳转。用户点 http://old.com/a.html,依次经过 http://www.old.com/a.html、https://www.old.com/a.html、https://new.com/a.html,最后落在 https://www.new.com/a.html。curl 测 time_total 0.68 秒,跳转本身占了 0.5 秒。
Google 能跟到第五跳,但每跳都会重新排一次抓取队列,我这边测下来四跳的页...
陆零云
36
0
站点切到 https 两周,百度抓的还是 http,状态码 200,页面照常打开就是没跳。curl -I http://www.example.com 返回 200,证书和 443 都正常,问题在 80 端口的 server 块。
conf 里有两个监听 80 的 server。一个写了 server_name www.example.com,里面还挂着老的 root 和 index;另一个没写 server_name,只写 listen 80 defau...