当前位置:论坛首页 > Linux面板 > 求助

宝塔如何安装如何安装ngx_http_secure_ link_module模块

发表在 Linux面板2020-9-26 21:00 [复制链接] 3 1395

宝塔7.4.5用的nginx1.18.0,请问如何安装ngx_http_secure_ link_module模块!
使用道具 举报 只看该作者 回复
发表于 2020-9-26 21:18:26 | 显示全部楼层
cd /www/server/nginx/src/
./configure --user=www --group=www --prefix=/www/server/nginx --with-openssl=/www/server/nginx/src/openssl --add-module=/www/server/nginx/src/ngx_devel_kit --add-module=/www/server/nginx/src/lua_nginx_module --add-module=/www/server/nginx/src/ngx_cache_purge --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_gunzip_module --with-stream --with-stream_ssl_module --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-ld-opt="-Wl,-E" --with-http_secure_link_module
make
rm -f /www/server/nginx/sbin/nginx.old
mv /www/server/nginx/sbin/nginx /www/server/nginx/sbin/nginx.old
cp objs/nginx /www/server/nginx/sbin/nginx
make upgrade
使用道具 举报 回复 支持 反对
发表于 2020-9-26 21:22:41 | 显示全部楼层
ASUS 发表于 2020-9-26 21:18
cd /www/server/nginx/src/
./configure --user=www --group=www --prefix=/www/server/nginx --with-opens ...

错误啊!这样不行啊!
使用道具 举报 回复 支持 反对
发表于 2020-9-26 21:37:22 | 显示全部楼层
ASUS 发表于 2020-9-26 21:18
cd /www/server/nginx/src/
./configure --user=www --group=www --prefix=/www/server/nginx --with-opens ...

你这个命令会把nginx给卸载掉了!
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表