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
(安装版本)
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
(安装版本)
本文标题:Mac下安装配置Nginx
本文链接:https://www.haomeiwen.com/subject/obnxxhtx.html
网友评论