diff --git a/scripts/helm/nginx-ingress/nginx-ingress/templates/configmap.yaml b/scripts/helm/nginx-ingress/nginx-ingress/templates/configmap.yaml index 81af26bbb..2e6f259a1 100644 --- a/scripts/helm/nginx-ingress/nginx-ingress/templates/configmap.yaml +++ b/scripts/helm/nginx-ingress/nginx-ingress/templates/configmap.yaml @@ -2,9 +2,12 @@ apiVersion: v1 kind: ConfigMap metadata: name: nginx - namespace: { { .Release.Namespace } } + namespace: {{ .Release.Namespace }} data: location.list: |- + location ~* /general_stats { + deny all; + } location /healthz { return 200 'OK'; } @@ -85,9 +88,6 @@ data: proxy_intercept_errors on; # see http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors error_page 404 =200 /index.html; } - location ~* /general_stats { - deny all; - } compression.conf: |- # Compression gzip on;