diff --git a/prometheus/ingress.yaml b/prometheus/ingress.yaml index a2dd6a3..dec45c2 100644 --- a/prometheus/ingress.yaml +++ b/prometheus/ingress.yaml @@ -10,7 +10,7 @@ metadata: acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" nginx.org/server-snippets: | - location /.well-known/acme-challenge/ { + location ~ /.well-known/acme-challenge/(.*) { auth_basic off; } nginx.org/basic-auth-secret: prometheus-basic-auth-secret @@ -43,7 +43,7 @@ metadata: acme.cert-manager.io/http01-edit-in-place: "true" ingress.kubernetes.io/ssl-redirect: "false" nginx.org/server-snippets: | - location /.well-known/acme-challenge/ { + location ~ /.well-known/acme-challenge/(.*) { auth_basic off; } nginx.org/basic-auth-secret: prometheus-basic-auth-secret