【发布时间】:2020-07-09 00:54:30
【问题描述】:
我想实现如下配置:
- https://example.com - 提供 Google Cloud Storage BacketA
- https://example.com/files/* - 提供 Google Cloud Storage BacketB
-
https://example.com/api/* - 提供谷歌功能 ->
https://us-central1-{my-app-name}.cloudfunctions.net/api
我对第 2 步有疑问。如何将后端指定为云功能端点?如何在后端配置中指向 google 函数?
我该怎么做?
【问题讨论】:
-
有什么问题?
-
告诉我们您在第 2 步中遇到的问题。
-
如何将后端指定为 cloudfunctions 端点?如何在后端配置中指向 google 函数?
-
@DioNNiS 你的问题不清楚,你想使用你的自定义域而不是自动生成云功能端点域吗?
-
@andresmijares 是的,我想将云功能端点映射到我的域的路径。
标签: google-cloud-platform google-cloud-functions