[英]Node.js Multiple Webapps
I am currently in testing phase, going through all webserver options. 我目前处于测试阶段,正在研究所有网络服务器选项。 I was wondering if it was possible to run a directory of webapps on the same port on node.js (basically to have multiple versions of my app with a config calling different apis).
我想知道是否可以在node.js的同一端口上运行webapps目录(基本上是通过调用不同api的配置来实现我的应用程序的多个版本)。 In the same way one can have a version Directory in Apache or Tomcat.
以相同的方式,可以在Apache或Tomcat中拥有版本Directory。
[解决]我弄清楚了,我所做的就是创建一个文件夹作为目录,并将所有内部版本添加到其中,并在包含内部版本的文件夹中调用http-server
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.