标签:add roo 编译 ali port start ssl usr 编码
Nginx 添加扩展模块
--add-module=../echo-nginx-module
[root@test01 nginx-1.17.10]# /usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.17.10
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --with-http_v2_module --with-http_ssl_module --with-http_sub_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-http_realip_module
tar zxvf echo-nginx-module-0.61.tar.gz
mv echo-nginx-module-0.61 echo-nginx-module
cd nginx-1.17.10
./configure --prefix=/usr/local/nginx --with-http_v2_module --with-http_ssl_module --with-http_sub_module
--with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-http_realip_module
--add-module=../echo-nginx-module
make && make install
make upgrade
[root@test01 nginx-1.17.10]# /usr/local/nginx/sbin/nginx -V
标签:add roo 编译 ali port start ssl usr 编码
原文地址:https://www.cnblogs.com/it-baibai/p/12913810.html