自动重定向 google 应用引擎
Automatic redirection google app engine
我已经使用自定义 url 配置了我的 google 应用引擎。我在提供的 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.
看来您必须使用上述参考表格与他们联系。
您 可能 能够切换到以前的灵活环境版本(即在 app.yaml
中使用 vm:true
)。但是现在这方面的文档可能很少,我什至不确定它是否允许自定义域工作(我还没有使用任何 flex env,所以这只是一个理论)。
我已经使用自定义 url 配置了我的 google 应用引擎。我在提供的 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 theappspot.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 throughappspot.com
. When the App Engine flexible environment is generally available (GA), users will be able to use theappspot.com
orappspot-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.
看来您必须使用上述参考表格与他们联系。
您 可能 能够切换到以前的灵活环境版本(即在 app.yaml
中使用 vm:true
)。但是现在这方面的文档可能很少,我什至不确定它是否允许自定义域工作(我还没有使用任何 flex env,所以这只是一个理论)。