The search engine giant recommended you to enable it via an HTTP response header,  " Content-Security-Policy: upgrade-insecure-requests, "  if all the content is controlled by you.

However, if the unsecure resources are served from a web server you don’t control, you can include the  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">  tag in your page's <head>.
posted on 2022-09-01 18:13  //HelloWorld  阅读(85)  评论(0编辑  收藏  举报