nginx部署教程实战下载 选择稳定版https://nginx.org/en/download.html解压tar -zxvf nginx-1.28.3.tar.gz安装环境yum install -y openssl openssl-devel yum install gcc-c yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum install -y openssl openssl-devel执行编译nginx./configure --prefix/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-stream --with-http_realip_module --with-threads最后makemake install安装目录/usr/local/nginx