macos 上 nginx 的安装与使用
学习自 https://blog.csdn.net/m0_74570541/article/details/133352659
- 安装(homebrew)
brew install nginx
- 启动nginx
brew services start nginx // 重启的命令是: brew services restart nginx
- 访问 http://localhost:8080
- 查看nginx安装目录
brew info nginx