安装nginx
brew install nginx
配置文件
/usr/local/etc/nginx/nginx.conf
启动命令
brew services start nginx
brew services stop nginx
brew services restart nginx
It’s not what you know, it’s how you think
目录
brew install nginx
/usr/local/etc/nginx/nginx.conf
brew services start nginx
brew services stop nginx
brew services restart nginx
作者:suninf
本文出处:https://www.suninf.net/2022/01/use-nginx-on-macos.html
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。
如果觉得本博客对您有帮助,欢迎 赞赏作者