Removed the "listen ... http2" directive is deprecated, use the "http2" directive instead warning

This commit is contained in:
2025-01-17 18:56:13 +01:00
parent 6b54c0fcf9
commit 991046eaeb
3 changed files with 9 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets on;