more experimenting with regex rules

This commit is contained in:
Aaron Riedel 2023-04-23 01:10:51 +02:00
parent 58a545ed11
commit 7cc71f7ccd
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