Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据Nginx 的说法,它超越了它的服务器根并启动了它的应用程序平台
..Unit 是一个现代应用服务器,用于用 PHP、Python 和 Go 编写的应用程序(支持 node.js、Java、Ruby Perl 和其他即将推出的),在动态环境中运行。
Unit 在哪里适合 ngnix->PSGI->Starman->Dancer 堆栈?它取代或增加了哪个部分?
在您的示例中,nginx 和 Starman 使用 HTTP 进行通信,而不是 PSGI(因为 PSGI 是接口,HTTP 是协议)。所以堆栈看起来像Unit->Dancer. 如果您需要一些 nginx 功能,您可以在 Unit: 前面使用它nginx->Unit->Dancer。
Unit->Dancer
nginx->Unit->Dancer