From 16796c292f986e1032f9f28447b7e3dba6857d63 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 25 Sep 2024 14:44:48 -0400 Subject: [PATCH] Provide HTTP/3 config example --- installation/pleroma.nginx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index ad0c3e5bb..6ce86ec55 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -45,6 +45,17 @@ server { listen [::]:443 ssl; http2 on; + # Optional HTTP/3 support + # Note: requires you open UDP port 443 + # + # listen 443 quic reuseport; + # listen [::]:443 quic reuseport; + # http3 on; + # quic_retry on; + # ssl_early_data on; + # quic_gso on; + # add_header Alt-Svc 'h3=":443"; ma=86400'; + ssl_session_timeout 1d; ssl_session_cache shared:MozSSL:10m; # about 40000 sessions ssl_session_tickets off;