1、安装
brew install nginx
2、vi /usr/local/etc/nginx/nginx.conf
3、修改可用端口及路径
4、启动nginxbrew services start nginx
5、通过ip+端口+路径访问