add forwarded for header for pihole
This commit is contained in:
parent
8a46e908ed
commit
34885e6231
1 changed files with 2 additions and 0 deletions
|
@ -51,4 +51,6 @@ services:
|
||||||
- traefik.http.routers.pihole.tls.certresolver=letsencrypt
|
- traefik.http.routers.pihole.tls.certresolver=letsencrypt
|
||||||
- traefik.http.routers.pihole.service=pihole
|
- traefik.http.routers.pihole.service=pihole
|
||||||
- traefik.http.services.pihole.loadbalancer.server.port=80
|
- traefik.http.services.pihole.loadbalancer.server.port=80
|
||||||
|
- traefik.http.middlewares.set-forwarded-for.headers.hostsProxyHeaders=X-Forwarded-For
|
||||||
|
- traefik.http.routers.pihole.middlewares=set-forwarded-for
|
||||||
- traefik.docker.network=traefik
|
- traefik.docker.network=traefik
|
||||||
|
|
Reference in a new issue