Can't Connect DNS to Dokploy

Hi! I have been trying all day to connect my domain (on Vercel) to my dokploy instance. I keep getting certificate errors. Any help would be greatly appreciated 🙏
No description
No description
No description
13 Replies
Jeewon Kwon
Jeewon Kwon2mo ago
That issue is not about dns. As you can see, the connection was http not https Maybe your Let's Encrypt got limit
SomeRandomGuy
SomeRandomGuyOP2mo ago
What do you mean? Is there a way i can check? I set up the same way with coolify no problem https://discord.com/channels/1234073262418563112/1234075055034728519/1358827324170309885 exactly the same issue
Henrik
Henrik2mo ago
Seems like there some issue with making the Dokploy traefik file not being created properly. Indenting the passHostHeaders correctly, or just remove it since the default value is true, will fix the issue
SomeRandomGuy
SomeRandomGuyOP2mo ago
yeah thanks that seems to have worked but only for the main instance. when I try the same thing with applications, that doesn't seem to work. still change something in the trafik file?
No description
No description
Henrik
Henrik2mo ago
Probably the same thing yes. I have created a PR
SomeRandomGuy
SomeRandomGuyOP2mo ago
@Henrik The PR has been merged (https://github.com/Dokploy/dokploy/pull/1661), but I still can't get it to work with applications For sanity's sake I tried with trafik with HTTPS. Still the same issue.
No description
No description
Henrik
Henrik2mo ago
Send your traefik.yml file
SomeRandomGuy
SomeRandomGuyOP2mo ago
/etc/dokploy/traefik/traefik.yml
providers:
swarm:
exposedByDefault: false
watch: true
docker:
exposedByDefault: false
watch: true
network: dokploy-network
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
entryPoints:
web:
address: ':80'
websecure:
address: ':443'
http3:
advertisedPort: 443
http:
tls:
certResolver: letsencrypt
api:
insecure: true
certificatesResolvers:
letsencrypt:
acme:
storage: /etc/dokploy/traefik/dynamic/acme.json
httpChallenge:
entryPoint: web
providers:
swarm:
exposedByDefault: false
watch: true
docker:
exposedByDefault: false
watch: true
network: dokploy-network
file:
directory: /etc/dokploy/traefik/dynamic
watch: true
entryPoints:
web:
address: ':80'
websecure:
address: ':443'
http3:
advertisedPort: 443
http:
tls:
certResolver: letsencrypt
api:
insecure: true
certificatesResolvers:
letsencrypt:
acme:
storage: /etc/dokploy/traefik/dynamic/acme.json
httpChallenge:
entryPoint: web
Henrik
Henrik2mo ago
And traefik.me domains does not always support HTTPS. I don't really understand when they do and when they don't Looks fine
SomeRandomGuy
SomeRandomGuyOP2mo ago
hmm lemme try with my custom domain
SomeRandomGuy
SomeRandomGuyOP2mo ago
yeah, unfortunately still the same issue
No description
No description
SomeRandomGuy
SomeRandomGuyOP2mo ago
I found this in the logs
No description
Henrik
Henrik2mo ago
Show how you deploy your app

Did you find this page helpful?