google-app-engine - 自动重定向谷歌应用引擎

标签 google-app-engine dns cname

我已经使用自定义 URL 配置了我的谷歌应用引擎。我在提供的 dns 中添加了一个新的 cname 条目,如下所示:

app CNAME   ghs.googlehosted.com.

每次我输入 url app.website.com 时,我都会自动重定向到预览 url https://20161211t143424-dot-dfsf-151819.appspot-preview.com 。这真的很烦人,我怎样才能在我的自定义 url 中使用我的应用程序?我需要使用 https 吗?

您可以在此处查看行为:http://app.e-writer.io/

最佳答案

这似乎是最近(新)柔性环境的默认行为。来自 Domain update (强调我的):

Traffic is now served from the appspot-preview.com domain instead of the appspot.com domain. All traffic from the App Engine flexible environment will be automatically redirected to the new domain. All App Engine Standard traffic will continue to be through appspot.com. When the App Engine flexible environment is generally available (GA), users will be able to use the appspot.com or appspot-preview.com domains for routing traffic.

For users who want to use the latest App Engine Flexible release with a custom domain, please fill out this form to contact us.

看来您必须使用上面提到的表格与他们联系。

可能能够切换到以前的灵活 env 版本(即在 app.yaml 中使用 vm:true)。但是现在相关的文档可能很少,我什至不确定它是否允许自定义域工作(我还没有使用任何 flex env,所以这只是一个理论)。

关于google-app-engine - 自动重定向谷歌应用引擎,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41091215/

相关文章:

c++ - 如何查找指向 IPv6 地址的 SRV 记录

security - 我的 DNS 提供商可以看到哪些信息?

amazon-web-services - Amazon Route 53 别名不起作用

mailchimp - 如何在 1and1 中对 DKIM 上的 MailChimp 进行身份验证

google-app-engine - 事件监听器YAML错误: mapping values are not allowed here in app. xml

python - Google App Engine - Python - 任务队列 - 如何添加任务列表?

python - GQL 内部交易

google-app-engine - dev/urandom-strerror : file not accessible

node.js - 如何在 localhost 上为通配符域创建一个 dns 服务器以与 node/express 一起使用?

heroku - 带有 Heroku 和 Google Domains 的 DNS - SSL 转发