wget -c http://nginx.org/download/nginx-1.13.5.tar.gz

wget -c ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.41.tar.gz

wget -c http://zlib.net/zlib-1.2.11.tar.gz

tar -zxvf nginx-1.13.5.tar.gz

tar -zxvf pcre-8.41.tar.gz

tar -zxvf zlib-1.2.11.tar.gz

cd nginx-1.13.5

yum install -y gcc gcc-c++

./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=../pcre-8.41 --with-zlib=../zlib-1.2.11

make & make install