Skip to content

Commit

Permalink
fix: issues with nginx configuration for metrics (#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkk-bcd committed Apr 22, 2024
1 parent 810abed commit b227a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sentry/templates/configmap-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ data:
proxy_pass http://relay;
}
{{ if and .Values.nginx.metrics.enabled .Values.nginx.metrics.serviceMonitor.enabled -}}
{{ if or .Values.nginx.metrics.enabled .Values.nginx.metrics.serviceMonitor.enabled -}}
location = /status/ {
stub_status;
stub_status on;
access_log off;
}
{{ end -}}
Expand Down

0 comments on commit b227a6b

Please sign in to comment.