Welcome

首页 / 操作系统 / 服务器配置 / mac 下 安装nginx的方法小结

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