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