虚拟主机与独立node.js服务器 [英] Virtual hosting with standalone node.js server
本文介绍了虚拟主机与独立node.js服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
有没有办法使用node.js服务器进行虚拟托管(即,在一个IP下托管多个域) p>当然可以使用 bouncy 或 node-http-proxy 。
还有一个Express解决方案。 查看此示例。
Is there a way to currently do virtual hosting with node.js server (i.e. host multiple domains under one IP) ?
解决方案
Sure, you can use bouncy or node-http-proxy specifically for that.
There's also an Express solution. Check out this example.
这篇关于虚拟主机与独立node.js服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文