Home >Operation and Maintenance >Nginx >Introduction to nginx shutdown/restart/start method

Introduction to nginx shutdown/restart/start method

王林
王林forward
2020-03-18 18:00:253294browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete