Trying different header

This commit is contained in:
WilliamMiceli
2018-11-18 16:45:24 -05:00
parent 575284f3fc
commit 9a74e12a81

View File

@@ -28,12 +28,12 @@ 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
traefik.frontend.headers.SSLRedirect: true traefik.frontend.headers.SSLRedirect: true
traefik.frontend.headers.STSPreload: true traefik.frontend.headers.STSPreload: true
traefik.frontend.headers.SSLProxyHeaders: X-Forwarded-Proto:https
traefik.frontend.headers.STSSeconds: 15552000 traefik.frontend.headers.STSSeconds: 15552000
traefik.port: "80" traefik.port: "80"
{{- else}} {{- else}}