Nginx configuration file Configuration detailed

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.