Skip to content

404 using wildcard and cloudflare tunnel poinitng to traefik #2703

Description

@alamadorm

To Reproduce

  1. Install cloudflared direcly in the server
  2. Add a tunnel pointing to localhost:80 and localhost:443 with a wildcard in both cases
  3. Add CNAME dns with a wildcard pointing to the cf tunnel
  4. Add a domain to any application in dokploy with a subdomain, like https://n8n.alamador.com (pointing to the right port of the container)
  5. Access to the domain (traefik is going to return a 404)

Current vs. Expected behavior

Current
Traefik is returning 404, only when accessing from domain name, not with domains from traefik

Expected
It should be able to serve the applications configured with an external domain

Provide environment information

Operating System:
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-84-generic x86_64)

Dokploy version: v0.25.3
VPS Provider: My own machine in my local network.

What Applications/services:
Any application that exposes a domain with traefik

Which area(s) are affected? (Select all that apply)

Traefik

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

I'm running it on my local network in a mini server.

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions