Home >Operation and Maintenance >Nginx >Introduction to nginx shutdown/restart/start method
Close
service nginx stop
systemctl stop nginx
Start
service nginx start
systemctl start nginx
(Recommended tutorial: nginx tutorial)
Restart
service nginx reload
systemctl restart nginx
Automatically run when the system starts
systemctl enable nginx
Disable automatic operation when the system starts
systemctl disable nginx
The above is the detailed content of Introduction to nginx shutdown/restart/start method. For more information, please follow other related articles on the PHP Chinese website!