nginx -s reload // 重新加载配置文件 nginx -t // 验证配置文件是否正确 nginx -s reload -c D:\soft\nginx-1.20.2\conf\nginx.conf // 重新加载指定目录下nginx配置文件