平滑增加Nginx模块

一:平滑增加Nginx模块

1.1.增加模块必须重新编译
解决依赖 编译安装不能解决依赖
	yum install zlib zlib-devel -y
	[root@web01 ~]#  wget https://nginx.org/download/nginx-				1.20.2.tar.gz
	
增加模块必须重新编译(编译安装)
[root@web01 ~]# tar -xf nginx-1.20.2.tar.gz
[root@web01 ~]# cd nginx-1.20.2
[root@web01 nginx-1.20.2]#./configure  --with-http_ssl_module
[root@web01 nginx-1.20.2]#make 
[root@web01 nginx-1.20.2]#make install 

nginx -V 出现模块:
--with-http_ssl_module
posted @ 2021-12-31 22:16  AlexEvans  阅读(39)  评论(0编辑  收藏  举报