Minimal Nginx TLS 1.3 & HTTP/2 Hardening Checklist
Modern Nginx releases on Debian 12 support the standalone http2 on; directive and TLS 1.3 out of the box with OpenSSL 3.
Recommended Server Block
server {
listen 443 ssl;
http2 on;
ssl_protocols TLSv1.3;
server_tokens off;
}
Always hide server version banners with server_tokens off and serve lightweight static error pages rather than default stubs.