docs(admin/environments): update suggested HTTP headers

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-06-03 06:57:37 -04:00
parent 780a935cb8
commit 59bfced8bf
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View file

@ -92,6 +92,7 @@ Assuming you are protecting `anubistest.techaro.lol`, you need the following ser
# throw an "admin misconfiguration" error. # throw an "admin misconfiguration" error.
RequestHeader set "X-Real-Ip" expr=%{REMOTE_ADDR} RequestHeader set "X-Real-Ip" expr=%{REMOTE_ADDR}
RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Proto "https"
RequestHeader set "X-Http-Version" "%{SERVER_PROTOCOL}s"
ProxyPreserveHost On ProxyPreserveHost On

View file

@ -61,6 +61,7 @@ server {
location / { location / {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Http-Version $server_protocol;
proxy_pass http://anubis; proxy_pass http://anubis;
} }

View file

@ -3,7 +3,6 @@ id: traefik
title: Traefik title: Traefik
--- ---
:::note :::note
This only talks about integration through Compose, This only talks about integration through Compose,