源码安装nginx可能需要的依赖
apt install gcc; apt install make; apt install libpcre3 libpcre3-dev; apt install zlib1g-dev; apt install openssl libssl-dev;
yum install pcre-devel yum install gcc yum -y install openssl openssl-devel yum install zlib-devel
./configure --prefix=/home/local/nginx --conf-path=/home/local/nginx/nginx.conf --with-http_ssl_module --with-http_realip_module --with-http_dav_module --with-http_gzip_static_module --with-http_v2_module make && make install
./home/local/nginx
浙公网安备 33010602011771号