From 59bfced8bf828381214e567beedb8e4c0127db90 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Tue, 3 Jun 2025 06:57:37 -0400 Subject: [PATCH] docs(admin/environments): update suggested HTTP headers Signed-off-by: Xe Iaso --- docs/docs/admin/environments/apache.mdx | 1 + docs/docs/admin/environments/nginx.mdx | 1 + docs/docs/admin/environments/traefik.mdx | 5 ++--- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/docs/admin/environments/apache.mdx b/docs/docs/admin/environments/apache.mdx index e38f51c..509737f 100644 --- a/docs/docs/admin/environments/apache.mdx +++ b/docs/docs/admin/environments/apache.mdx @@ -92,6 +92,7 @@ Assuming you are protecting `anubistest.techaro.lol`, you need the following ser # throw an "admin misconfiguration" error. RequestHeader set "X-Real-Ip" expr=%{REMOTE_ADDR} RequestHeader set X-Forwarded-Proto "https" + RequestHeader set "X-Http-Version" "%{SERVER_PROTOCOL}s" ProxyPreserveHost On diff --git a/docs/docs/admin/environments/nginx.mdx b/docs/docs/admin/environments/nginx.mdx index 54d81c3..0d51d75 100644 --- a/docs/docs/admin/environments/nginx.mdx +++ b/docs/docs/admin/environments/nginx.mdx @@ -61,6 +61,7 @@ server { location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Http-Version $server_protocol; proxy_pass http://anubis; } diff --git a/docs/docs/admin/environments/traefik.mdx b/docs/docs/admin/environments/traefik.mdx index 6011a03..81e1499 100644 --- a/docs/docs/admin/environments/traefik.mdx +++ b/docs/docs/admin/environments/traefik.mdx @@ -3,11 +3,10 @@ id: traefik title: Traefik --- - :::note - This only talks about integration through Compose, - but it also applies to docker cli options. +This only talks about integration through Compose, +but it also applies to docker cli options. :::