1. 查找 nginx 位置 whereis nginx 2. 进入 nginx 目录 cd /usr/local/nginx/sbin 3. 检查 nginx 配置文件是否正确 ./nginx -t 4. 重新加载配置文件 ./nginx -s reload