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

上一篇:JavaScript学习笔记——4.数组


下一篇:iOS开发——UI篇&九宫格算法