more experimenting with regex rules
This commit is contained in:
parent
58a545ed11
commit
7cc71f7ccd
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ metadata:
|
||||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
ingress.kubernetes.io/ssl-redirect: "false"
|
ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
nginx.org/server-snippets: |
|
nginx.org/server-snippets: |
|
||||||
location /.well-known/acme-challenge/ {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
auth_basic off;
|
auth_basic off;
|
||||||
}
|
}
|
||||||
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
|
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
|
||||||
|
@ -43,7 +43,7 @@ metadata:
|
||||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
ingress.kubernetes.io/ssl-redirect: "false"
|
ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
nginx.org/server-snippets: |
|
nginx.org/server-snippets: |
|
||||||
location /.well-known/acme-challenge/ {
|
location ~ /.well-known/acme-challenge/(.*) {
|
||||||
auth_basic off;
|
auth_basic off;
|
||||||
}
|
}
|
||||||
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
|
nginx.org/basic-auth-secret: prometheus-basic-auth-secret
|
||||||
|
|
Loading…
Reference in a new issue