【问题标题】:How can I configure wildcard/catchall domains in OpenShift Online?如何在 OpenShift Online 中配置通配符/catchall 域?
【发布时间】:2015-10-15 02:03:32
【问题描述】:

我的应用处理大量子域(www.example.org、foo.example.org、bar.example.org、...)。

由于 大量 以及子域是基于 从另一个系统的常规导出 确定的事实,因此几乎不可能手动添加所有它们作为 OpenShift Online 域别名。

有没有办法将 OpenShift 配置为包罗万象?

到目前为止,我已尝试输入诸如 *.example.org@.example.org.example.org 之类的内容,但 OpenShift 显示“不允许指定别名”

【问题讨论】:

  • 我不相信 OpenShift Online 能够实现这一点。您可以尝试向 OpenShift 提交支持票,看看他们是否可以帮助您。

标签: openshift wildcard-subdomain catch-all


【解决方案1】:

OpenShift Online 目前不支持通配符子域。您必须将每个域添加为单独的别名。我建议您使用子文件夹而不是子域(www.example.com/username 而不是 username.example.com)

【讨论】:

    【解决方案2】:

    我不知道这是最近才添加的还是你没找到,但我想你正在寻找这个:

    *.example.com. 300 IN  A 192.168.133.2
    

    https://docs.openshift.org/latest/admin_guide/install/prerequisites.html#environment-requirements

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-07-15
      • 2015-11-23
      • 2013-07-05
      • 2012-08-21
      • 2020-08-23
      • 2016-05-11
      • 2022-06-23
      • 2014-09-16
      相关资源
      最近更新 更多