【发布时间】:2022-01-24 08:03:53
【问题描述】:
我有一个在 supereye.co.uk 上运行的 Django 应用程序。
Django 处理所有 URL 路由,例如 supereye.co.uk/signin supereye.co.uk/watch 等。
我还在 gs://production2.supereye.co.uk 上使用与 Google Cloud App Engine 配合使用的 Google Cloud Storage
我应如何处理路由,以便可以通过 supereye.co.uk 域访问 App Engine 和 Storage。例如:
supereye.co.uk -> Django App, Google Cloud App Engine
data.supereye.co.uk -> Google Cloud Storage bucket, gs://production2.supereye.co.uk
有没有什么方法可以在不将 Django App 与存储桶相关联的情况下实现这一点?
在使用适当的 https 自定义域名(例如“https://data.supereye.co.uk”而不是“https://storage.googleapis.com/production”)时,是否可以通过自己的资源访问存储桶-supereye-co-uk/video/DFeMfXUk4Te/thumbnail/Mx73lhda8n8x.webp" ?
是否有任何内部 Google Cloud 工具可以让我实现这一目标?
【问题讨论】:
-
嗨@SuperEye,如果您认为我的回答对您有帮助,请考虑通过单击左侧投票箭头下方的复选标记并投票来接受它。非常感谢,谢谢!
标签: django google-cloud-platform google-cloud-storage google-cloud-load-balancer