explains the operational features, security mechanisms, and configuration of the dstack-gateway component, including its role in TLS termination, WireGuard VPN management, domain-based routing, and integration with cluster synchronization and authorization services.
Pattern | Routing Logic | TLS Mode | Default Port |
---|---|---|---|
<app-id>.domain.com | Direct app routing | TLS Termination | 80 |
<app-id>-<port>.domain.com | Custom port routing | TLS Termination | Specified port |
<app-id>s.domain.com | TLS passthrough | TLS Passthrough | 443 |
<app-id>-<port>s.domain.com | Custom port with TLS passthrough | TLS Passthrough | Specified port |
custom.domain.com | DNS TXT lookup: _dstack-app-address | TLS Passthrough | From TXT record |