javascript - 为什么将 NGINX 与 Meteor 结合使用?

标签 javascript nginx meteor

据我了解,Meteor 是一个全栈 Web 服务器,这意味着您不需要其他 Web 服务器(例如 Apache 或 NGINX)即可使其工作。但从部署 Meteor 的指南来看,他们似乎使用 NGINX 来服务 Meteor。

这是为什么呢?

编辑:如果我只使用 Meteor,而不使用 NGINX 或 apache,会有什么影响吗?重要吗?

最佳答案

Meteor 不是网络服务器。特别是,它无法终止 SSL/TLS。这就是为什么您可能希望 nginx 在 Meteor 前面运行。

关于javascript - 为什么将 NGINX 与 Meteor 结合使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25985382/

相关文章:

javascript - 在 CKEditor 中使用 Jquery 确定元素是否为图像

docker [emerg] 1#1 : host not found in upstream after separate compose file

nginx proxyPass 使用变量传递给普罗米修斯

linux - 为什么我不能在 root 模式下运行 meteor?

javascript - 在 Meteor.js 应用程序中设置请求限制

JavaScript : download file from server : open file dialog to choose folder to save file

javascript - 我什么时候应该使用 Vuex?

javascript - 为什么这段 JavaScript 代码中的数组没有发生变化?

Azure/Kubernetes (AKS) - Nginx 入口从互联网超时

mongodb - 将本地主机 MongoDB 数据复制到 meteor 服务器