macos 上 nginx 的安装与使用

学习自 https://blog.csdn.net/m0_74570541/article/details/133352659

  1. 安装(homebrew)
brew install nginx
  1. 启动nginx
brew services start nginx // 重启的命令是: brew services restart nginx
  1. 访问 http://localhost:8080
  2. 查看nginx安装目录
brew info nginx
posted @ 2025-04-07 16:11  kuki'  阅读(10)  评论(0)    收藏  举报