nginx openssl 支持tsl1.3配置


https://www.jianshu.com/p/c9b7a434b005
openssl 升級


https://www.hanyibo.com/linux/nginx-enable-tls1-3-brotli.html
nginx配置tslv1.3

 


./configure --prefix=/usr/local/nginx --add-module=/usr/local/src/ngx_cache_purge-2.3 --with-http_stub_status_module --with-pcre=/usr/local/src/pcre-8.36 --with-openssl=/usr/local/src/openssl-1.1.1a --with-http_ssl_module --with-openssl-opt='enable-tls1_3 enable-weak-ssl-ciphers'

 

objs/nginx -V
cp /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.bak_211
cp objs/nginx /usr/local/nginx/sbin/nginx


ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # 增加 TLSv1.3
ssl_ciphers TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+ECDSA+AES128:EECDH+aRSA+AES128:RSA+AES128:EECDH+ECDSA+AES256:EECDH+aRSA+AES256:RSA+AES256:EECDH+ECDSA+3DES:EECDH+aRSA+3DES:RSA+3DES:!MD5;

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM