【问题标题】:Cloudflare redirect subdomain to directoryCloudflare 将子域重定向到目录
【发布时间】:2014-11-14 01:50:22
【问题描述】:

我正在尝试使用 Cloudflare 进行重定向:

http://sub.example.com -> http://example.com/sub

但我更喜欢这个:

http://sub.example.com -> http://example.com/subdomain

这可能吗?

【问题讨论】:

    标签: php nginx cloudflare


    【解决方案1】:

    这可以通过 Cloudflare 页面规则实现。在网站页面中,点击您网站的齿轮,然后选择页面规则。然后你可以添加你想要的每一个模式。比如这样:

    有关 Cloudflare 的页面规则的更多信息,请查看官方网站:http://blog.cloudflare.com/introducing-pagerules-url-forwarding/

    【讨论】:

      猜你喜欢
      • 2021-10-21
      • 2011-06-28
      • 1970-01-01
      • 1970-01-01
      • 2014-03-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多