nginx的常用命令
1.HomeBrew安装nginx
搜索
brew search nginx
安装
brew install nginx
2.启动nginx
sudo nginx
3.停止nginx服务
sudo nginx -s stop
4.重启nginx服务
sudo nginx -s reload
搜索
brew search nginx
安装
brew install nginx
sudo nginx
sudo nginx -s stop
4.重启nginx服务
sudo nginx -s reload