将NginX用于Node.js有什么好处? [英] What is the benefit of using NginX for Node.js?

查看:71
本文介绍了将NginX用于Node.js有什么好处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,Node.js不需要NginX作为http服务器(或Websockets服务器或任何与此相关的服务器)工作,但我一直在阅读有关如何使用NginX而不是Node.js内部服务器的信息,找到了这样做的充分理由

From what I understand Node.js doesnt need NginX to work as a http server (or a websockets server or any server for that matter), but I keep reading about how to use NginX instead of Node.js internal server and cant find of a good reason to go that way

推荐答案

此处

Here http://developer.yahoo.com/yui/theater/video.php?v=dahl-node Node.js author says that Node.js is still in development and so there may be security issues that NginX simply hides.
On the other hand, in case of a heavy traffic NginX will be able to split the job between many Node.js running servers.

这篇关于将NginX用于Node.js有什么好处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆