Nginx常用命令 使用Nginx操作命令的前提条件: 必须进入Nginx的目录:/usr/local/nginx/sbin/ 查看Nginx版本号 ./nginx -v 启动Nginx ./nginx 关闭Nginx ./nginx -s stop 重新加载 ./nginx -s reload