wget http://nginx.org/download/nginx-1.11.13.tar.gz tar zxvf nginx-1.11.13.tar.gz cd nginx-1.11.13 yum -y install pcre pcre-devel gcc* ncurser-devel perl openssl-devel whereis cc gcc ./configure --prefix=/usr/local/nginx --with-pcre --with-http_stub_status_module --with-http_ssl_module//--with-pcre在Nginx添加对正则表达式的支持//--with-http_stub_status_module添加对状态页面的支持//--with-http_ssl_module在Nginx添加对https站点的支持 make make install
时间: 2024-10-01 07:23:22