nginx命令大全

nginx -c nginx.conf(配置文件路径 指定配置文件启动)

nginx -t -c nginx.conf(配置文件路径 测试指定配置文件指定配置文件是否正确)

nginx -s reload 重启

原文地址:https://www.cnblogs.com/dangkei/p/11315658.html