Rails application with implemented user subdomain functionality
Kamal 2 deployment with Thruster reverse proxy
DNS records configured for wildcard domain
Current deploy.yml configuration:
proxy:
ssl: true
host: mysite.com
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
Hi! Here is what I got
Current Setup
Goal Enable support for user-specific subdomains in the format:
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