页面中以 http 引用了图片,图片服务器启用 HSTS 后
Strict-Transport-Security: max-age=31536000
Chrome 会自动以 307 跳转到 https 地址,但 Chrome 会出现警告:
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure image '<URL>'. This content should also be served over HTTPS.
请问如何在不修改地址的情况下让 Chrome 不出现警告?
相关问题
- Can ServiceStack JsonServiceClient send a get requ
- Is it possible to use HTTPS only for login in Spri
- java 11 HttpClient leads to endless SSL loop even
- HTTP to HTTPS 301 Redirection Code is Not Working,
- NodeJS check validity of SSL certification other h
希望能有帮助: https://blog.cloudflare.com/fixing-the-mixed-content-problem-with-automatic-https-rewrites/