https://blog.csdn.net/csdndd521/article/details/124503973
启动方法:
/usr/local/Nginx/sbin/Nginx -c /usr/local/Nginx/conf/Nginx.conf
– /sbin/Nginx 所在路径 -t -c 主配置文件
测试 :/usr/local/Nginx/sbin/Nginx -t -c /usr/local/Nginx/conf/Nginx.conf
重启 : /usr/local/Nginx/sbin/Nginx -s reload -c /usr/local/Nginx/conf/Nginx.conf
------
验证:/usr/local/Nginx/sbin/Nginx -t -c /usr/local/Nginx/conf/Nginx_data.conf
/usr/local/Nginx/sbin/Nginx -t -c /usr/local/Nginx/conf/Nginx.conf
重启: /usr/local/Nginx/sbin/Nginx -s reload -c /usr/local/Nginx/conf/Nginx_data.conf
/usr/local/Nginx/sbin/Nginx -s reload -c /usr/local/Nginx/conf/Nginx.conf
停止: