chore: disable TLS session tickets

Session tickets weaken forward secrecy; disable them to prevent
past sessions from being decrypted if the ticket key is compromised.
This commit is contained in:
lingkai5wu committed 2026-10-12 13:00:10 +08:00
1 parent b01d4e8f1e
commit 1be33450f0
1 file changed
+1
+1
View File
@@ -2,6 +2,7 @@ http2 on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_session_tickets off;
server {
listen 80 default_server;