diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index b032dd16..f2dd99c2 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -18,8 +18,6 @@ metadata: nginx.ingress.kubernetes.io/upstream-vhost: "{{ .Values.ingress.host }}" {{- if .Values.ingress.tls }} cert-manager.io/cluster-issuer: {{ .Values.ingress.custom_cluster_issuer | default "cert-main" }} - nginx.ingress.kubernetes.io/configuration-snippet: | - proxy_set_header X-Forwarded-Proto {{ .Values.ingress.tls | ternary "https" "http" }}; nginx.ingress.kubernetes.io/ssl-redirect: "true" {{- else }} nginx.ingress.kubernetes.io/ssl-redirect: "false"