http://www.jb51.net/article/69091.htm Details
Http://www.jb51.net/article/72527.htm includes detailed configuration such as installation
http://blog.csdn.net/tjcyjd/article/details/50695922 more details
Nginx (engine X) is a high-performance HTTP server and reverse proxy server, the purpose of this software development is to solve the c10k problem.
The Nginx architecture leverages the features of many modern operating systems to achieve a high-performance HTTP server. For example, in the Linux system, Nginx uses the mechanism of Epoll,sendfile,file aio,directio, which makes nginx not only efficient, but also the resource occupancy rate is very low, officially declared nginx to maintain 10,000 inactive HTTP kee The p-alive connection requires only 2.5M of memory.
Nginx runs multiple processes on demand simultaneously: one master process (master) and several worker processes (worker), cache loader processes (caches loader) and cache Manager processes (cache manager), and so on when the cache is configured. All processes contain only one thread, and the process of interprocess communication is achieved primarily through the "shared memory" mechanism. The main process runs as root, and the worker, cache loader, and cache manager should run as non-privileged users.
Nginx configuration file Configuration detailed