1.安装
brew install nginx
2.常用命令
命令 | 描述 |
---|---|
brew services list | List all running services for the current user |
brew services start nginx | 启动 |
brew services stop nginx | 快速停止或关闭 |
brew services restart nginx | 重新启动 |
brew services reload nginx | 配置文件修改重装载 |
3.配置文件
/usr/local/etc/nginx/nginx.conf
网友评论