【发布时间】:2014-08-26 20:57:19
【问题描述】:
我们正在考虑将现有应用程序迁移到 Google App Engine。
目前我们有多个由 Nginx 代理的项目,使用 1 个域下的不同位置。为简单起见,假设我们有 4 个项目:
// api
location /api {
proxy_pass http://www.example.com/api;
}
// desktop web app
location /desktop {
proxy_pass http://www.example.com/desktop;
}
// mobile web app
location /mobile {
proxy_pass http://www.example.com/mobile;
}
// static landing page
location / {
proxy_pass http://www.example.com/landing;
}
我的问题是:
- 将这 4 个项目迁移到 Google App Engine 的最佳做法是什么?
根据我的理解,我们必须将这 4 个项目合并为 1 个具有 4 个独立模块的单个项目。对我来说,让一个庞大的项目包含所有内容听起来并不理想。
- 是否可以让单个域为多个 Google App Engine 项目提供服务?
谢谢。
【问题讨论】: