Nginx notes

WBOY
Release: 2016-07-29 09:12:45
Original
895 people have browsed it

Nginx ("engine x") is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server.

Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, and is released under a BSD-like protocol.
Its characteristics areless memory usage and strong concurrency capabilityIn fact, nginx’s concurrency capability does perform better among web servers of the same type,because of its stability, rich feature set, sample configuration files and low system Known for its consumption of resources. Users of nginx websites in mainland China include: Baidu, Sina, NetEase, Tencent, etc.
One: Nginx restarts and shuts down
nginx -s reload: Modify the configuration and reload it to take effect
nginx -s reopen: Reopen the log file
nginx -t -c /path/to/nginx.conf Test whether the nginx configuration file is correct
Turn off nginx: inNGINX -S Stop: Quickly stop Nginx
Quit: complete and orderly stop Nginx
Other stop Nginx methods:
PS -EF | GREP NGINX
KILL -QUIT Main Process Number: Stop Nginx
kill -term calmly Main process number: Stop Nginx quickly
pkill -9 nginx: Force stop Nginx
Start nginx:
nginx -c /path/to/nginx.conf
Restart nginx smoothly:
kill -HUP Main process number
Two: Notes:
New application under IIS--close nginx--modify conf server-80.config--reload nginx

The above has introduced Nginx notes, including relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template