Change traefik forwarded headers configuration

main
trivernis 1 year ago
parent 449eeeb4f5
commit 27171a9ae1
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -6,24 +6,40 @@ metadata:
spec:
valuesContent: |-
additionalArguments:
- "--entryPoints.web.proxyProtocol.trustedIPs=10.0.0.254,167.235.111.84"
- "--entryPoints.web.forwardedHeaders.trustedIPs=10.0.0.254,167.235.111.84"
- "--providers.kubernetescrd.allowCrossNamespace=true"
ports:
web:
exposedPort: 8000
forwardedHeaders:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
proxyProtocol:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
websecure:
exposedPort: 8443
forwardedHeaders:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
proxyProtocol:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
ssh:
port: 8022
expose: true
exposedPort: 8022
protocol: TCP
sct-discovery:
port: 21027
expose: true
exposedPort: 21027
protocol: UDP
sct-listen:
port: 22000
expose: true

Loading…
Cancel
Save