basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
11.69k stars 474 forks source link

Wildcard for 3rd level domains #1194

Open Wolwer1nE opened 3 weeks ago

Wolwer1nE commented 3 weeks ago

Hi! Here is what I got

Current Setup

Goal Enable support for user-specific subdomains in the format:

name.mysite.com
another_name.mysite.com

What is the correct approach to handle wildcard subdomains with Kamal/Thruster?

Option 1: Remove host from deploy.yml completely (concerns about SSL certificate compatibility) Option 2: Use wildcard notation '*.mysite.com' Option 3: There is no such possibility, go back to nginx/traefik and suffer.

Kamal version: 2.2.2 Rails version: 8.0.0.beta1 Thruster version: 0.1.8

viktorianer commented 6 days ago

Related to https://github.com/basecamp/kamal/pull/969.