App Engine 网站上是否可以包含 https://yourdomain.com?
我知道 Google App Engine 文档 说您的设备上只能使用 HTTPS foo.appspot.com
域,不具有自定义域。
但是是否可以(并且安全)在其他地方托管自定义域,并将其设置为代理所有对 https://foo.appspot.com
的 HTTPS 请求?
如果是这样,您建议如何设置?与直接使用 https://foo.appspot.com
相比,它会慢很多吗?
I know the Google App Engine docs say you can only have HTTPS on your foo.appspot.com
domain, not with a custom domain.
But is it possible (and safe) to host a custom domain somewhere else, and set it up to proxy all HTTPS requests to https://foo.appspot.com
?
If so, how would you recommend setting it up? And would it be much slower, compared to using https://foo.appspot.com
directly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可以做到的。如果您信任您的代理并且从代理到应用程序使用 SSL,那么它是安全的。它会明显变慢,因为用户和应用程序之间的路径更长。此外,除非您获得多个代理,否则您的所有流量都必须通过单个全球位置,而 appspot 域由全球各地的前端提供服务。
Yes, it's possible to do this. It's secure if you trust your proxy and you use SSL from the proxy to the app. It will be noticeably slower, since there's a longer path between your user and your app. In addition, unless you get multiple proxies, all your traffic will have to go via a single global location, whereas the appspot domain is served from frontends all round the globe.