系统相关
首页 > 系统相关> > 源码编译安装nginx

源码编译安装nginx

作者:互联网

nginx版本:1.22

安装依赖包:

#yum -y install pcre-devel openssl openssl-devel  GeoIP-devel.x86_64

#cd nginx-1.22.0/

#./configure --prefix=/export/server/nginx --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_geoip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module

#make && make install

标签:http,编译,--,make,module,devel,nginx,源码
来源: https://www.cnblogs.com/fighting-ljy/p/16688181.html