Nginx常用操作命令 必须在nginx目录下才能进行相关操作 1.查看nginx版本号 ./nginx -v 2.启动nginx ./nginx 3.关闭nginx ./nginx -s stop 4.重新启动nginx ./nginx -s reload