最近啟用一個 .com 域名測試使用防楷,考慮到并不對外運營,僅僅做個測試而已则涯,也就相關的幾個人用一下,哪里想到要備案?竟然 ...易迹!
瀏覽器的表現(xiàn)
-
打不開頁面
告訴你:The server refused the connection. - 頁面打開不完整
要么 css 文件無法下載冀墨,要么圖片無法下載。
服務端日志
access 日志中有 返回 499 狀態(tài)碼情況雏门;
error 日志中很多: client prematurely closed connection (104: Connection reset by pe er) while sending response to client步脓。
分析
-
403 錯誤
因為瀏覽器有不同的表現(xiàn),css 和 圖片文件有時能打開有時不能打開囱挑,查詢 nginx 設置沒發(fā)現(xiàn)配置錯誤,奇怪石抡。
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 就給你上了枷鎖了锡垄。
- 啟用備過案的域名千贯。