【问题标题】:Use wildcard subdomains for Google Cloud Functions为 Google Cloud Functions 使用通配符子域
【发布时间】:2019-08-25 21:06:19
【问题描述】:

我正在尝试在 Google Cloud Functions 上设置通配符域。我已经看到here 对 Google App Engine 是可行的。但是如何为 Google Cloud Functions 做呢?

假设通配符是*.singlelisting.co。我想从这些子域6.singlelisting.cons324.singlelisting.co 中的任何一个中访问一个名为bigben 的函数。

因此,用户可以通过访问https://6.singlelisting.co/bigbenhttps://ns324.singlelisting.co/bigben 访问bigben

【问题讨论】:

    标签: google-cloud-platform google-cloud-functions


    【解决方案1】:

    据我所知,为 Cloud Functions 获取自定义域的唯一方法是通过 Firebase Hosting

    Firebase Hosting 使用 not support wildcard domain mappings,因为它依赖letsencrypt.org 获取 SSL 证书。

    【讨论】:

      猜你喜欢
      • 2023-03-06
      • 1970-01-01
      • 1970-01-01
      • 2021-03-12
      • 2017-09-12
      • 1970-01-01
      • 2019-10-21
      • 2020-07-02
      • 1970-01-01
      相关资源
      最近更新 更多