Skip to content

Commit b227a6b

Browse files
authored
fix: issues with nginx configuration for metrics (#1232)
1 parent 810abed commit b227a6b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sentry/templates/configmap-nginx.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ data:
3030
proxy_pass http://relay;
3131
}
3232
33-
{{ if and .Values.nginx.metrics.enabled .Values.nginx.metrics.serviceMonitor.enabled -}}
33+
{{ if or .Values.nginx.metrics.enabled .Values.nginx.metrics.serviceMonitor.enabled -}}
3434
location = /status/ {
35-
stub_status;
35+
stub_status on;
36+
access_log off;
3637
}
3738
3839
{{ end -}}

0 commit comments

Comments
 (0)