我正在尝试使用Cloudflare for Saas配置我的 Google App Engine 实例,更准确地说是使用 Cloudflare for SaaS产品的 SSL。目标是我可以向我的客户提供一个“自定义域”(也称为“虚荣域”),这样他们就不会访问dashboard.mywebsite.com,而是访问app.customerwebsite.com。
为了确保我的 App Engine 实例能够正确地在 上提供内容dashboard.mywebsite.com,我进行了以下操作:
dashboard.mywebsite.com。app.yaml配置文件:runtime: nodejs14
env_variables:
NODE_ENV: 'production'
basic_scaling:
max_instances: 10
idle_timeout: 5m
Run Code Online (Sandbox Code Playgroud)
dashboard.mywebsite.com可以完美运行我等了几个小时,确认可以dashboard.mywebsite.com正确解析并提供我的内容(来自 Google App Engine)。
根据Cloudflare 文档,我必须注册后备源(即dashboard.website.com),然后配置自定义主机名(例如app.customerwebsite.com)。我做到了。
现在,再次根据Cloudflare …