使用brew安装的nginx默认目录为:/usr/local/opt/nginx
起配置文件nginx.conf在/usr/local/etc/nginx下
修改完nginx.conf后运行命令 nginx -s reload重启
使用brew安装的nginx默认目录为:/usr/local/opt/nginx
起配置文件nginx.conf在/usr/local/etc/nginx下
修改完nginx.conf后运行命令 nginx -s reload重启
转载于:https://my.oschina.net/shanmengm/blog/648595