跳转到内容

nginx启动、停止、重启命令

查看状态

bash
systemctl status nginx

启动

bash
systemctl start nginx

停止

bash
systemctl stop nginx

重启

bash
service nginx restart