mac 使用brew安装nginx 各种命令
mac 使用brew安装nginx 各种命令
安装:brew install nginx 或者 sudo brew install nginx
启动:brew services start nginx 或者 sudo brew services start nginx
重启:brew services restart nginx 或者 sudo brew services restart nginx
停止:brew services stop nginx 或者 sudo brew services stop nginx
查看:cat usr/local/etc/nginx/nginx.conf
编辑:vi usr/local/etc/nginx/nginx.conf
本文来自博客园,作者:King-DA,转载请注明原文链接:https://www.cnblogs.com/qingmuchuanqi48/articles/13621125.html