-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
To Reproduce
Description
Wildcard domains (e.g., *.example.com) defined in the Domains section do not work. Navigating to sub.example.com is not routed to the correct service.
Root Cause
Dokploy generates Traefik router rules using Host() matcher which requires exact match. Wildcard routing requires HostRegexp() in Traefik v3.
Steps to Reproduce
- Add a domain with host
*.example.com - Enable HTTPS with Let's Encrypt
- Try to access
app.example.com→ not routed
Current vs. Expected behavior
Current:
- Host(*.example.com) ← does not match sub.example.com
Expected:
- HostRegexp(^.+.example.com$) ← matches any subdomain
- Wildcard domains are routed correctly to the service
- DNS Challenge is automatically used for wildcard SSL certificates
- Users are guided to configure their DNS provider credentials
Provide environment information
- OS: Any (Linux VPS - Ubuntu 22.04+)
- Dokploy Version: All versions
- Deployment Type: Docker Swarm / Docker Standalone
- Traefik Version: 3.x (bundled with Dokploy)Which area(s) are affected? (Select all that apply)
Traefik
Are you deploying the applications where Dokploy is installed or on a remote server?
Remote server
Additional context
Wildcard SSL certificates require DNS Challenge. The existing letsencrypt resolver uses HTTP Challenge which cannot issue wildcard certificates.
Will you send a PR to fix it?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request