Added label to forward headers

This commit is contained in:
WilliamMiceli
2018-11-18 16:11:42 -05:00
parent 457cabf0cf
commit da029ccab7

View File

@@ -28,6 +28,7 @@ services:
{{- end}} {{- end}}
{{- if .Values.TRAEFIK_HOST}} {{- if .Values.TRAEFIK_HOST}}
traefik.enable: true traefik.enable: true
traefik.frontend.auth.forward.trustForwardHeader: true
traefik.frontend.rule: Host:${TRAEFIK_HOST} traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.frontend.entryPoints: http,https traefik.frontend.entryPoints: http,https
traefik.frontend.headers.forceSTSHeader: true traefik.frontend.headers.forceSTSHeader: true