potentially fix basicauth issue

This commit is contained in:
Aaron Riedel 2023-04-23 00:54:24 +02:00
parent 8c6ea5fb15
commit 58a545ed11
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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