wget http://nginx.org/download/nginx-1.18.0.tar.gz
tar xf nginx-1.18.0.tar.gz
cd nginx-1.18.0
安装依赖,需要配合yum离线安装,这里由于使用了iso,所以直接装,没有iso要联网下yum install gcc zlib-devel pcre-devel openssl-devel
安装位置./configure --prefix=/fox/soft/nginx/ --with-http_ssl_module --with-http_stub_status_module
编译make && make install
反向代理:
location / {
proxy_pass http://localhost:37799
}



