重启整个服务器后,nginx重启nginx -s reload报错,
可以手动指定重启文件路径nginx -c /etc/nginx/nginx.conf 就可以了 之后再nginx -s reload就行。