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 //保存修改 并重载

posted @ 2017-10-23 17:55  adouwt  阅读(125)  评论(0编辑  收藏  举报