【问题标题】:Serve www.domain to one Heroku app, and *.domain to another将 www.domain 提供给一个 Heroku 应用,将 *.domain 提供给另一个
【发布时间】:2011-08-09 04:15:51
【问题描述】:

我有两个应用程序 - 一个是应用程序的公众形象,另一个是应用程序本身。我想设置 heroku 为 www. 提供一个应用程序(公共站点之一),并提供另一个应用程序 *.domain

这可能吗?

【问题讨论】:

    标签: dns heroku


    【解决方案1】:

    不适用于 Heroku 和多个应用程序。

    如果您在尝试添加通配符时已经设置了 www.domain,则怀疑它不会让您这样做,因为通配符也会匹配对 www.domain 的尝试,并且无法设置优先级。

    我在 Heroku 上有你所说的应用程序,它们都有相同的代码库,然后根据请求的 url 确定应该加载哪个站点

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-09-24
      • 1970-01-01
      • 2017-06-02
      • 2014-01-03
      • 2019-10-10
      • 1970-01-01
      • 2021-04-15
      • 1970-01-01
      相关资源
      最近更新 更多