-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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
-
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. -
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. -
Middleware Structure (Authelia, CrowdSec, Secure Headers)
I useAutheliafor authentication and enable its middleware selectively via Docker labels on specific routers. I’m also using yoursecure-headersmiddleware. How should I structure the middleware chain to ensure that:CrowdSecandsecure-headersare applied consistently to all requests, andAutheliais applied last
For reference, here are my static and dynamic Traefik configuration files.