Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-check before requesting certificate #2604

Open
moander opened this issue May 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@moander
Copy link

commented May 10, 2019

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.

sub.mysite.com {
    selfcheck http://my-tester.com/test?callback=http://sub.mysite.com
}

The above example will instruct Caddy to call the selfcheck url and postpone the certreq until a 200 OK is returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.