同个服务器不同协议,ssl – Nginx中每台服务器的不同TLS协议

这似乎是Nginx中的一个错误.我也在https://serverfault.com/a/827794/318927发布了这个答案

它始终只使用第一个服务器块中的ssl_protocols指令并忽略任何后续服务器块.在我的情况下,我有许多虚拟服务器在同一个实例上运行,所以我使用Nginx -T命令显示完整的组合配置,以确定哪个服务器块是“第一个”,因为我将它拆分为许多单独的配置文件.

在撰写本文时,我正在尝试使用ondrej / Nginx PPA安装Nginx的Ubuntu 14.04.5.

具体来说,我正在运行使用OpenSSL 1.0.2j构建的Nginx 1.10.2.

Nginx version: Nginx/1.10.2

built with OpenSSL 1.0.2j 26 Sep 2016

TLS SNI support enabled

configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,now' --prefix=/usr/share/Nginx --conf-path=/etc/Nginx/Nginx.conf --http-log-path=/var/log/Nginx/access.log --error-log-path=/var/log/Nginx/error.log --lock-path=/var/lock/Nginx.lock --pid-path=/run/Nginx.pid --modules-path=/usr/lib/Nginx/modules --http-client-body-temp-path=/var/lib/Nginx/body --http-fastcgi-temp-path=/var/lib/Nginx/fastcgi --http-proxy-temp-path=/var/lib/Nginx/proxy --http-scgi-temp-path=/var/lib/Nginx/scgi --http-uwsgi-temp-path=/var/lib/Nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_spdy_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/Nginx-8xB1_y/Nginx-1.10.2/debian/modules/Nginx-auth-pam --add-dynamic-module=/build/Nginx-8xB1_y/Nginx-1.10.2/debian/modules/Nginx-dav-ext-module --add-dynamic-module=/build/Nginx-8xB1_y/Nginx-1.10.2/debian/modules/Nginx-echo --add-dynamic-module=/build/Nginx-8xB1_y/Nginx-1.10.2/debian/modules/Nginx-upstream-fair --add-dynamic-module=/build/Nginx-8xB1_y/Nginx-1.10.2/debian/modules/ngx_http_substitutions_filter_module

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值