Add trusted ip's to entrypoints

This commit is contained in:
Julius 2022-05-24 11:55:49 +02:00
parent 8411106bc3
commit 5dcc6c8eb5
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2

View file

@ -27,9 +27,9 @@ spec:
globalArguments: []
additionalArguments:
- "--entryPoints.web.forwardedHeaders.insecure=true"
- "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32,10.42.0.0/16"
- "--entryPoints.websecure.forwardedHeaders.insecure=true"
- "--accesslog=true"
- "--accesslog.fields.headers.defaultmode=keep"
- "--entryPoints.websecure.forwardedHeaders.trustedIPs=127.0.0.1/32,10.42.0.0/16"
ports:
traefik:
port: 9000