评论

收藏

[Nginx] mac 下 安装nginx的方法小结

web服务器 web服务器 发布于:2021-08-22 21:50 | 阅读数:248 | 评论:0

下载相应版本的nginx
解压进入该版本的目录下
在命令行执行
./configure  --with-cc-opt="-Wno-deprecated-declarations" --without-http_rewrite_module
执行  make
执行 make install
执行 sudo /usr/local/nginx/sbin/nginx

关注下面的标签,发现更多相似文章