Open chengfengjie opened 6 years ago
brew install nginx // 通过homebrew安装 nginx //启动 nginx -s stop //停止
安装的文件位置:
/usr/local/etc/nginx: 配置文件目录 /usr/local/Cellar/nginx/1.13.9: 安装目录 /usr/local/var/www: 服务器根目录
/usr/local/etc/nginx
/usr/local/Cellar/nginx/1.13.9
/usr/local/var/www
安装启动
安装的文件位置:
/usr/local/etc/nginx
: 配置文件目录/usr/local/Cellar/nginx/1.13.9
: 安装目录/usr/local/var/www
: 服务器根目录