最近启用一个 .com 域名测试使用,考虑到并不对外运营,仅仅做个测试而已,也就相关的几个人用一下,哪里想到要备案?竟然 ...!
浏览器的表现
-
打不开页面
告诉你:The server refused the connection. - 页面打开不完整
要么 css 文件无法下载,要么图片无法下载。
服务端日志
access 日志中有 返回 499 状态码情况;
error 日志中很多: client prematurely closed connection (104: Connection reset by pe er) while sending response to client。
分析
-
403 错误
因为浏览器有不同的表现,css 和 图片文件有时能打开有时不能打开,查询 nginx 设置没发现配置错误,奇怪。
F12 谷歌 Developer Tools:403 错误 -
原因在这里:aodun.com.cn
aodun.com.cn
filter/filter.html
散了,散了,该干嘛干嘛
- Nginx uses 499 as the status code when the client unexpectedly terminates a connection.
- 停止公开解析只是私下使用(设置 hosts)也不行,因为在IDC 就给你上了枷锁了。
- 启用备过案的域名。



