编译安装 可以自己上nginx官方网站下载安装包,解压之后用下面命令编译安装: 1 2 3 4 ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-http_gzip_static_module \ ………