YANGWW
2022-10-09 14:04:39
阅读 82
更新brew
brew update
安装Nginx
brew install nginx
查看Nginx信息
brew info nginx
nginx的配置文件路径:/usr/local/etc/nginx/nginx.conf
nginx的服务器默认路径:/usr/local/var/www
nginx的安装路径:/usr/local/Cellar/nginx
访问
Nginx for Mac 默认端口号是8080,访问:http://localhost:8080
© 著作权归作者所有