nginx 代理oracle
1、文件下载
nginx版本至少1.9的版本,版本太低没有stream这个功能,pcre-3.8.5
(检查是否安装 pcre 依赖: pcre -config- -version)
- nginx http://nginx.org/download/nginx-1.10.3.tar.gz
- pcre https://ftp.pcre.org/pub/pcre/pcre2-10.36.zip
安装依赖:openssl、gcc、g++、pcre等
2 编译
pcre安装 ./configure --prefix=/usr/local/pcre2-10.36
nginx安装 ./configure --prefix=/usr/local/nginx --with-stream --with-pcre=/usr/local/pcre2-10.36
make