diff --git a/helm/config/nginx.conf b/helm/config/nginx.conf index cf76a61c94..7a1f6c5680 100644 --- a/helm/config/nginx.conf +++ b/helm/config/nginx.conf @@ -25,8 +25,8 @@ http { location /api/v1/ { client_max_body_size 30m; proxy_pass http://{{ .Release.Name }}-backend:80; - proxy_redirect http://{{ .Release.Name }}-backend {{ .Values.general.scheme }}://$http_host; - proxy_redirect http://{{ .Release.Name }}-backend:80 {{ .Values.general.scheme }}://$http_host; + proxy_redirect http://{{ .Release.Name }}-backend {{ .Values.general.scheme }}://{{ .Values.general.host }}:{{ .Values.general.port }}; ++ proxy_redirect http://{{ .Release.Name }}-backend:80 {{ .Values.general.scheme }}://{{ .Values.general.host }}:{{ .Values.general.port }}; } } }