gpt4 book ai didi

web - CLoudflare 页面规则 : force SSL except specified URL pattern?

转载 作者:行者123 更新时间:2023-12-02 17:20:53 25 4
gpt4 key购买 nike

除了指定的 URL 模式外,是否可以使用 Cloudflare 强制使用 SSL?例如:example.com/* 强制使用 SSL,但 example.com/iframe 仅使用 HTTP,不使用 HTTPS。

最佳答案

如果您在 CloudFlare 的加密部分使用 Automatic HTTPS Rewrites,是的。为 example.com/iframe* 创建页面规则,其中 Automatic HTTPS Rewrites 关闭。请参阅页面规则设置的附加图像:

enter image description here

但是您可能正在使用 Microsoft IIS 或 Apache 进行重定向。在那种情况下,您必须在此处进行区分。

关于web - CLoudflare 页面规则 : force SSL except specified URL pattern?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42832333/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com