Nginx summary (2)

Source: Internet
Author: User
Nginx summary (2) nginx summary (1) http://www.2cto.com/os/201302/191860.html There are many configuration files. some www.2cto.com [root @ host2nginx] # catconf/nginx are listed below. conf | grep \ #-v # usernobody; user... nginx summary (2) nginx summary (1) http://www.2cto.com/os/201302/191860.html There are many configuration files. The following lists some www.2cto.com [root @ host2 nginx] # cat conf/nginx. conf | grep \ #-v # user nobody; user nginx; // user. this parameter is added by yourself because worker_processes 1 is commented out, and events {worker_connections 1024; use epoll; // used I/o model} http {include mime. types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server {listen 80; // The listening port server_name localhost; location/{root html; index index.htm L index.htm;} error_page 500 502 503 504/50 x.html; location =/50x.html {root html ;}} you can see that the nginx configuration document is in different regions! The above is the basic nginx configuration. For more detailed configuration, visit wiki.nginx.org.

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.