Homebrew 安装nginx brew install nginx<br /> <br />nginx常用命令: nginx 启动nginx nginx -s reload 重启nginx nginx -s stop 关闭nginx