Ondra3211
Contributor
- May 5, 2018
- 65
- 37
- 111
nginx/1.14.1
OpenSSL 1.1.1b 26 Feb 2019
Debian 9
I want to try disable TLS 1.3 on my website. This is my config:
In all configurations files I don't have nothing about TLS1.3. I have disabled TLS 1.3
HOW Can I disable TLS 1.3 in nginx?
OpenSSL 1.1.1b 26 Feb 2019
Debian 9
I want to try disable TLS 1.3 on my website. This is my config:
NGINX:
server {
if ($host = www.domain.tld) {
return 301 https://domain.tld$request_uri;
} # managed by Certbot
server_name domain.tld www.domain.tld;
index index.html index.htm index.php;
root /var/www/html;
error_page 404 /404.html;
listen 443 http2 ssl;
ssl_certificate /etc/letsencrypt/live/domain.tld/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain.tld/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384";
ssl_dhparam /etc/nginx/dhparam.pem;
ssl_ecdh_curve secp521r1:secp384r1;
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
add_header X-Frame-Options DENY always;
add_header X-Content-Type-Options nosniff always;
add_header X-Xss-Protection "1; mode=block" always;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/letsencrypt/live/domain.tld/fullchain.pem;
resolver 1.1.1.1 1.0.0.1 [2606:4700:4700::1111] [2606:4700:4700::1001] valid=300s; # Cloudflare
resolver_timeout 5s;
}server {
if ($host = www.domain.tld) {
return 301 https://domain.tld$request_uri;
} # managed by Certbot
if ($host = domain.tld) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name domain.tld www.domain.tld;
return 404; # managed by Certbot
}
ssl_protocols TLSv1.2;
but it's still enabled and I don't know why.
Last edited: