启动
nginx
启动方法二
systemctl start nginx.service
查看是否启动
ps aux | grep nginx
从容停止
nginx -s quit
立即停止
nginx -s stop
停止
killall nginx
停止
systemctl stop nginx.service
重启
systemctl restart nginx.service
重载配置文件
nginx -s reload
nginx
systemctl start nginx.service
ps aux | grep nginx
nginx -s quit
nginx -s stop
killall nginx
systemctl stop nginx.service
systemctl restart nginx.service
nginx -s reload