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

Allow multiple hosts per service #24

Merged
merged 12 commits into from
Sep 25, 2024
Merged

Allow multiple hosts per service #24

merged 12 commits into from
Sep 25, 2024

Conversation

kevinmcconnell
Copy link
Collaborator

This adds the ability to associate multiple hostnames with a single service. For example:

kamal-proxy deploy myapp --target=web-1 --host=app.example.com,api.example.com

You can use a comma-delimited list in the host flag, and/or specify the flag multiple times.

When a service has multiple hostnames, requests to any of those hostnames will route to the service. If the service also specifies --tls, then all of the host names will be covered in the TLS certificates.

Closes #14.

@kevinmcconnell kevinmcconnell merged commit 059bead into main Sep 25, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Multiple hosts per service
1 participant