From 537d4d19c581208a70cbbc0ba032c1e9652ea24f Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 25 Sep 2024 14:42:18 -0400 Subject: [PATCH] Move to the new method to enable http2 instead of on the listen socket statement --- installation/pleroma.nginx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index ca2edf2bd..ad0c3e5bb 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -41,8 +41,10 @@ ssl_session_cache shared:ssl_session_cache:10m; server { server_name example.tld; - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + http2 on; + ssl_session_timeout 1d; ssl_session_cache shared:MozSSL:10m; # about 40000 sessions ssl_session_tickets off;