nginx

./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_module --with-pcre=/usr/local/src/pcre-8.38 --with-zlib=/usr/local/src/zlib-1.2.8 --with-openssl=/usr/local/src/openssl-1.0.1q --with-stream

pcre下载地址

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz

zlib下载地址

http://zlib.net/zlib-1.2.8.tar.gz

openssl下载地址

http://www.openssl.org/source/openssl-1.0.1q.tar.gz

--with-stream 开启tcp代理

原文地址:https://www.cnblogs.com/xdsfoo/p/5104803.html