nginx版本 1.24.0
openssl版本3.1.3
- 进入nginx源码目录
- 执行./configure --prefix=/usr/local/nginx --without-http_rewrite_module --with-http_stub_status_module --with-http_ssl_module --with-openssl=/usr/local/src/openssl-3.1.3
- make
- 这一步可能会报错, 我的是报后缀名为.a的文件查不到, 打开nginx目录auto/lib/openssl/conf文件, 看下41,41行对应的文件是否存在, 不存在, 则需要改一下路径
- make install
文章描述了在配置并编译Nginx1.24.0时遇到的问题,涉及到OpenSSL3.1.3版本,由于缺少某些.a文件,作者指导读者检查openssl/conf目录并可能需要修改路径以成功安装。

1037

被折叠的 条评论
为什么被折叠?



