summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-05-03 17:35:53 -0700
committerElizabeth Hunt <me@liz.coffee>2025-05-03 17:35:53 -0700
commitae2d222ab5423bef0fc136e0aee2b4243db03b17 (patch)
treed7bd9c71ee71996c7419ff1a74b89010b3ffd057
parent5c49715e1cb370d340e61e6aca3f89a8904dc010 (diff)
downloadinfra-ae2d222ab5423bef0fc136e0aee2b4243db03b17.tar.gz
infra-ae2d222ab5423bef0fc136e0aee2b4243db03b17.zip
Fix x-forwarded-for on http
-rw-r--r--playbooks/roles/traefik/templates/stacks/traefik.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/roles/traefik/templates/stacks/traefik.yml b/playbooks/roles/traefik/templates/stacks/traefik.yml
index 98c333e..e677a60 100644
--- a/playbooks/roles/traefik/templates/stacks/traefik.yml
+++ b/playbooks/roles/traefik/templates/stacks/traefik.yml
@@ -9,6 +9,9 @@ api:
entryPoints:
web:
address: ":80"
+ forwardedHeaders:
+ trustedIPs:
+ - "{{ homelab_network }}"
http:
redirections:
entryPoint: