我可以在heroku上为应用程序部署多个框架吗?

时间:2014-05-16 20:57:20

标签: heroku

我读到heroku是一个polygot平台:https://devcenter.heroku.com/articles/cedar#polyglot-platform

它是否提供高级路由,以便我可以这样做:

sample1.heroku.com                   // rails
 www.customdomain.com

sample1.heroku.com/another-path/     // node.js
 www.customdomain.com/another-path

sample2.heroku.com/api/             // java
 api.customdomain.com/

因此,上述内容适用于使用以下内容的单个应用程序:

  1. 的NodeJS
  2. 的java
  3. 此外,每个框架都在特定路径上运行,而java在子域上运行。

    这可以用heroku吗?

0 个答案:

没有答案
相关问题