想要把tls 1.0關閉
主機nginx upstream
以下是我的conf
但是不管如何都是沒辦法顯示關閉
ssl_session_cache shared:SSL:20m;
ssl_session_cache shared:ssl_session_cache:10m;
ssl_session_timeout 5m;
ssl_protocols TLSv1.2;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
ssl_prefer_server_ciphers off;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
example: smaple.conf
server {
listen 80;
server_name dograbbit.example.com;
# ....
}
請問你是怎麼測試不過的呢,看哪一個數值呢?
是使用瀏覽器 F12,還是 curl,還是?
你有 upstream,是否能畫一下架構,這是哪一段的 nginx confclinet -> nginx proxy -> nginx server