Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Self-check before requesting certificate #2604
I'm using Caddy in Kubernetes. It works great as long as the LoadBalancer is up. A new Kubernetes service will take a minute or two to become active. During this time Caddy will get itself banned. Also if the pod is restarted when there are problems with the LB it will get banned.
To solve this problem it would be great to have the possibility to do a self-check to see if Caddy is available from the outside world.
The above example will instruct Caddy to call the selfcheck url and postpone the certreq until a 200 OK is returned.