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