Home > Article > Operation and Maintenance > How to restart nginx
Nginx is a lightweight, high-performance, high-stability, and good-concurrency HTTP and reverse proxy server.
How to restart nginx?
Restart Nginx service
Method 1: Enter the nginx executable directory sbin and enter the command ./nginx -s reload can
Method 2: Find the current nginx process number, and then enter the command: kill -HUP process number to restart the nginx service
For more Nginx related knowledge, please visit the Nginx usage tutorial column!
The above is the detailed content of How to restart nginx. For more information, please follow other related articles on the PHP Chinese website!