Shortener Presets
Multi-Domain Whitelabel Routing With Caddy On-Demand TLS
Terminate hundreds of customer custom CNAME short domains cleanly with Caddy on_demand_tls ask endpoints and Nginx upstream keepalive pools.
Unlimited CNAME Domains · Zero-Reload TLS · Keepalive=64
Preventing ACME Rate-Limit Exhaustion on Whitelabel Domains
Never enable Caddy on_demand_tls without an ask validation endpoint pointing at your Kutt or Shlink domain registry. Without an ask check, internet scanners hitting your IP with random Host headers will burn through Let's Encrypt certificate quotas.
Sharing One Redis Cluster Across All Tenant Domains
Keying Redis entries by custom_domain + slug allows 500+ whitelabel customer domains to share a single 8 GB Hostinger KVM 2 node cleanly.
Measured Thresholds & Shortener Stack Parameters
| Parameter / Setting | Recommended Value | Operational Reason |
|---|---|---|
| On-Demand TLS Guard | ask http://app:3000/api/domain-check | Prevents ACME abuse from arbitrary unverified host headers |
| Upstream Keepalive | keepalive 64 + HTTP/1.1 | Eliminates TCP ephemeral port exhaustion above 3,000 req/s |
| Redis Key Namespace | domain:slug -> target_url | Prevents slug collisions across tenant custom domains |
| Rate Limit Shield | 120 req/s per IP on /api/* | Protects link creation APIs while leaving 302 redirects uncapped |