From da1890380e8107618cafcb813db4717264318b2f Mon Sep 17 00:00:00 2001 From: kouhaidev <66407198+kouhaidev@users.noreply.github.com> Date: Sat, 15 Nov 2025 22:59:16 -0800 Subject: [PATCH] docs: use nginx http2 directive instead of deprecated http2 listen parameter (#1251) Acked-by: Jason Cameron --- docs/docs/admin/environments/nginx.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/docs/admin/environments/nginx.mdx b/docs/docs/admin/environments/nginx.mdx index fcbba26..74a07d2 100644 --- a/docs/docs/admin/environments/nginx.mdx +++ b/docs/docs/admin/environments/nginx.mdx @@ -55,8 +55,9 @@ server { # proxy all traffic to the target via Anubis. server { # Listen on TCP port 443 with TLS (https) and HTTP/2 - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + http2 on; location / { proxy_set_header Host $host; @@ -113,8 +114,9 @@ Then in a server block: server { # Listen on 443 with SSL - listen 443 ssl http2; - listen [::]:443 ssl http2; + listen 443 ssl; + listen [::]:443 ssl; + http2 on; # Slipstream via Anubis include "conf-anubis.inc";