strict origin when cross origin
时间: 2023-08-02 13:04:56 浏览: 256
回答: "strict-origin-when-cross-origin"是一个浏览器的引用策略。根据Chrome的计划,在85版开始,它将成为默认的引用策略。对于同源的请求,它会发送完整的URL作为引用地址。在同等安全级别的情况下,它会发送文件的源作为引用地址(HTTPS->HTTPS)。在降级的情况下,它不会发送此首部(HTTPS->HTTP)。\[3\]这个引用策略的目的是提高安全性和隐私保护。如果你在使用Vue前端部署到Nginx服务器后,浏览器访问资源时出现了"strict-origin-when-cross-origin"的报错,可能是因为跨域问题。你可以通过配置网关来解决这个问题。\[2\]具体的解决方案可能因具体情况而异,你可以参考相关文档或寻求专业的技术支持来解决这个问题。
#### 引用[.reference_title]
- *1* [记录一次strict-origin-when-cross-origin的错误](https://blog.csdn.net/weixin_43405946/article/details/118221871)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [谷歌浏览器strict-origin-when-cross-origin 解决](https://blog.csdn.net/weixin_48687496/article/details/123749167)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [解决 strict-origin-when-cross-origin 问题](https://blog.csdn.net/qq_43371556/article/details/127848820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文