关闭
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中文网其他相关文章!