LNMPweb server installation and configuration process
Nginx (“engine x”) is a high performance HTTP and reverse proxyserver and a IMAP/POP3/SMTP proxy server. Nginx is the second most visited in Russia by Igor Sysoev Rambler.ru site, where it has been running for more than two and a half years. Igor releases the source code under a BSD-like license. 1. Why choose Nginx 1. In the case of high concurrent connection, Nginx is a good substitute for Apache server, which can support up to 50,000 In response to the number of concurrent connections, Nginx chose epoll and kqueue as the development model. 2. Nginx as a load balancingserver: Nginx can directly support Rails and PHP internally The program performs external services, and can also support external services as an HTTP proxy server. Nginx is written in C, and it is much better than Perlbal in terms of system resource overhead and CPU usage efficiency. 3. As a mail proxy server: Nginx is also a very good mail proxy server. Why is the performance of Nginx much higher than that of Apache? This is due to the fact that Nginx uses the latest epoll (Linux 2.6 kernel) and kqueue (freebsd) network I/O model, while Apache uses the traditional select…