启动 sudo nginx 停止 sudo nginx -s stop # 或着 kill -9 Nginx的PID 重载配置文件 sudo nginx -s reload 查看配置文件 more nginx.conf 校验配置文件 sudo nginx -t