Mac下安装配置Nginx
2020-02-01 本文已影响0人
Kairk996
1.安装homebrew
2.brew install nginx
常用命令:
启动:brew services start nginx
快速停止: nginx -s stop
完整有序停止: nginx -s quit
配置文件路径:/usr/local/etc/nginx/nginx.conf
服务器默认路径:/usr/local/var/www
安装路径:/usr/local/Cellar/nginx/1.17.8
(安装版本)