检查配置文件是否符合语法
./nginx -t
测试并罗列详细配置信息
./nginx -T
只输出错误信息
./nginx -tq
传递信号
./nginx -s stop
./nginx -s quit
./nginx -s reopen
./nginx -s reload
指定配置文件
./nginx -c filename
修改配置
./nginx -p "pid logs/abc.pid"
标签:命令,logs,配置文件,reopen,pid,filename,nginx
来源: https://www.cnblogs.com/swnm/p/15417890.html