nginx关闭/重启/启动方法介绍

nginx关闭/重启/启动方法介绍

关闭

service nginx stop
systemctl stop nginx

启动

service nginx start
systemctl start nginx

(推荐教程:nginx教程)

重启

service nginx reload
systemctl restart nginx

随系统启动自动运行

systemctl enable nginx

禁止随系统启动自动运行

systemctl disable nginx

以上就是nginx关闭/重启/启动方法介绍的详细内容,更多请关注https://www.sxiaw.com/其它相关文章!