logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 537d4d19c581208a70cbbc0ba032c1e9652ea24f
parent f53c34c5d6b857f04e744de51ef353a5c678b2e8
Author: Mark Felder <feld@feld.me>
Date:   Wed, 25 Sep 2024 14:42:18 -0400

Move to the new method to enable http2 instead of on the listen socket statement

Diffstat:

Minstallation/pleroma.nginx6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 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;