#安装依赖 yum -y install gcc yum -y install gcc-c++ yum -y install zlib-devel yum -y install pcre-devel yum -y install openssl openssl-devel #添加模块 ./configure --add-module=/app/fastdfs/fastdfs-nginx-module-master/src/ --with-http_ssl_module #编译和安装,默认安装到/usr/local make && make install
#查看添加的模块
/usr/local/nginx/sbin/nginx -V