nginx指定配置文件启动

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

解释:

nginx -c 配置文件

原文地址:https://www.cnblogs.com/mafeng/p/8716752.html