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

Caddy (Automtically route all subdomains to a specific IP or set of IPs) - relevant for k8s #41

Open
singhalkarun opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@singhalkarun
Copy link
Collaborator

singhalkarun commented Jul 25, 2024

Caddy needs a services which tells caddy whether to or not to allow it generate on demand cert for a domain.

References:

Syntax for routing all sevices to same IP

*.domain.name {
  tls {
        on_demand
    }

  reverse_proxy ip:port
}

Tested for K8S. Code to be structured and pushed. Requires a service which authorizes on demand tls requests with 200 OK. Designed service using FastAPI.

@singhalkarun singhalkarun self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant