sudo apt-get install gcc libpcre++-dev libssl-dev make
mkdir /home/git
cd /home/git
git clone https://github.com/yaoweibin/ngx_http_substitutions_filter_module
git clone https://github.com/agentzh/sregex
git clone https://github.com/agentzh/replace-filter-nginx-module
./configure \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_spdy_module \
--with-http_realip_module \
--with-http_sub_module \
--with-http_gzip_static_module \
--with-ipv6 \
--add-module=/home/git/ngx_http_substitutions_filter_module \
--add-module=/home/git/replace-filter-nginx-module \
时间: 2024-12-15 07:00:01