关闭
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关闭/重启/启动方法介绍的详细内容,更多请关注php中文网其它相关文章!
![php中文网最新课程二维码](/static/images/article_wechat2021.jpg?1111)
声明:本文转载于:csdn,如有侵犯,请联系admin@php.cn删除
网友评论
文明上网理性发言,请遵守 新闻评论服务协议
我要评论