nginx的配置
1. brew install nginx
2.brew services list
3.brew services start nginx
4.brew servicies stop nginx
5.brew services restart nginx
6.一般安装目录 /usr/local/etc/nginx/nginx.conf
7.vim /usr/local/etc/nginx/nginx.conf
8.sudo nginx -s reload //保存修改 并重载