我搭建了服務器,想試試看,沒想到很多網站訪問受限
換個瀏覽器又能進入了,推測是HTTPS的問題
搜了好久,發現解決辦法有:
1給自己的服務器裝SSL
或者:
2給自己chrome設置可訪問 此類網頁,忽略問題
打開chrome://flags
找到“Show in-form warnings for sensitive fields when the top-level page is not HTTPS”設置爲 disabled
找到 “Allow invalid certificates for resources loaded from localhost”設置爲 “enabled”