命令
- 启动nginx服务
sudo brew services start nginx
- 关闭nginx服务
sudo brew services stop nginx
- 停止nginx
nginx -s stop
- 重启:
brew services restart nginx
- 编辑:
cd /usr/local/etc/nginx
三个目录:
- /usr/local/cellar
- /usr/local/etc/nginx
- /usr/local/var
sudo brew services start nginx
sudo brew services stop nginx
nginx -s stop
brew services restart nginx
cd /usr/local/etc/nginx
三个目录: