nginx -tc /etc/nginx/nginx.conf --检查nginx配置有没有问题
systemctl status/start/stop/restart/reload nginx.service --nginx的状态/开始/停止/重启/重启
nginx -tc /etc/nginx/nginx.conf --检查nginx配置有没有问题
systemctl status/start/stop/restart/reload nginx.service --nginx的状态/开始/停止/重启/重启
转载于:https://www.cnblogs.com/elian91/p/11221176.html