回答
收藏
分享
举报
ubuntu安装nginx,configure问题
提问于2021-04-12 09:43

浏览 3.6k

configure如下:

$ ./configure --with-openssl=../openssl-1.1.1i --with-pcre=../pcre-8.44 --with-zlib=../zlib-1.2.11 --with-http_ssl_module --add-module=../fastdfs-nginx-module/src

结果为什么没有 sha1 和 md5

Configuration summary
  + using PCRE library: ../pcre-8.44
  + using OpenSSL library: ../openssl-1.1.1i
  + using zlib library: ../zlib-1.2.11

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx modules path: "/usr/local/nginx/modules"
  nginx configuration prefix: "/usr/local/nginx/conf"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

我看别人都是

+ using PCRE library: /usr/local/pcre-8.02

+ using OpenSSL library: /usr/share/doc/openssl-1.0.0

+ md5: using system crypto library

+ sha1: using system crypto library

+ using zlib library: /usr/local/zlib-1.2.8

我以前安装也是这样5个加号的。

已修改于2023-03-17 11:03



写下您的回答
发表回答
全部回答(1)

按点赞数排序

按时间排序

低版本,编译会打印md5和sha1。我测试1.10版本,是打印md5和sha1的,1.11以上不打印了,可以查看
https://github.com/nginx/nginx/tree/master源代码代码仓库auto/summary文件,里面有描述。下面为我本地Ubuntu18.04编译指令:
在代码根目录运行,./auto/configure --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_module --with-stream --with-stream_ssl_module --add-module=/home/lq/work/tongmingzhiyun/openresty/lua-nginx-module-0.10.21 --add-module=/home/lq/work/tongmingzhiyun/openresty/ngx_devel_kit-0.3.1
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using system zlib library

nginx path prefix: "/opt/nginx"
nginx binary file: "/opt/nginx/sbin/nginx"
nginx modules path: "/opt/nginx/modules"
nginx configuration prefix: "/opt/nginx/conf"
nginx configuration file: "/opt/nginx/conf/nginx.conf"
nginx pid file: "/opt/nginx/logs/nginx.pid"
nginx error log file: "/opt/nginx/logs/error.log"
nginx http access log file: "/opt/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"

赞同

0

回复举报

回答于2022-10-31 14:09



回复提桶跑路
回复
提问者
阿尔巴
这家伙很懒还未留下介绍~
12
文章
10
问答
11
粉丝
相关问答

1.禁止目录浏览

2.限制目录执行权限

3.隐藏版本信息

4.限制并发

5.nginx 降权

6.防盗链

7.补丁及时更新

8.特殊要求还可以限制ip

9.用户密码限制等等

点赞 0
浏览 4k

从我目前的上游节点宕机验证验证结果分析,主动检测和被动检测共同作用,在上游节点已经宕机的情况下,进入nginx的流量依旧会转发给上游宕机节点,配合proxy_next_upstream进行流量的next操作



原文作者:7759349htww

原文链接:https://www.nginx.org.cn/question/detail/6549

转载来源:NGINX开源社区

著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

点赞 0
浏览 1.7k

有没有大佬遇到相同的问题,帮帮我这个小白吧

点赞 0
浏览 2.6k