CentOS7编译安装Nginx 1.20.1

升级Gcc到11之后,编译指令为

./configure --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_module  --with-http_gzip_static_module --with-cc=/usr/local/gcc-11.2.0/bin/gcc

你可能感兴趣的:(CentOS,linux)