Skip to content

Just some questions #2

@xd003

Description

@xd003

Hello,
Thanks to your blog and resources, I'm nearly done finalizing my Traefik setup, I really appreciate the guidance so far. I just have a few remaining clarifications before I wrap things up

  1. Cloudflare Tunnel vs Open Ports
    I noticed that you’re using Cloudflare Tunnels for your external Traefik instance. I considered the same approach for my VPS, but I also run services like Jellyfin, which are restricted from being proxied through Cloudflare Tunnels. Since Jellyfin will require me to expose ports 80 and 443 anyway, does it still make sense to use Cloudflare Tunnel for the rest of my services?
    I'm inclined to skip the tunnel and use a standard reverse proxy for everything to avoid the extra hop and overhead, especially since I’m already opening the required ports.

  2. Single vs Split Traefik Instances
    Assuming I go with the typical web and websecure entrypoints and forego Cloudflare Tunnels entirely, is there any practical reason to maintain separate internal and external Traefik instances? I’m wondering if I can simplify the architecture in this case.

  3. Middleware Structure (Authelia, CrowdSec, Secure Headers)
    I use Authelia for authentication and enable its middleware selectively via Docker labels on specific routers. I’m also using your secure-headers middleware. How should I structure the middleware chain to ensure that:

    • CrowdSec and secure-headers are applied consistently to all requests, and
    • Authelia is applied last

For reference, here are my static and dynamic Traefik configuration files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions