I have the following ingress in my .yaml
file:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: my-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: my-ip-1
spec:
rules:
- http:
paths:
- backend:
serviceName: nodeport-svc
servicePort: 8080
- path: /.well-known/acme-challenge/
backend:
serviceName: ssl-cert-svc
servicePort: 8081
Default rule for paths on my website, website.com/*
work fine through the nodeport-svc
service.
I can't figure out how to route all child paths under /.well-known/acme-challenge/
.
Files with random names will need to be accessible under /.well-known/acme-challenge/*
,
eg. website.com/.well-known/acme-challenge/2480836013081364194169