Live data from Hacker News

Traefik's 10-year anniversary

traefik.io

111–120 of 154 posts

Re: Traefik's 10-year anniversary

#111

Usual tribal bollocks in the comments. Personally, I generally rock Apache but Traefik, Caddy, ngnix and co are all superb projects. If you are going to get tribal about web servers, I suggest you think really hard about your career choice. Use the tool that works for the job in hand.

My main takeaway was "traefik has worse docs and more complex configuration but if you grok it, the fit with docker is fantastic"

Re: Traefik's 10-year anniversary

#112
post #36

I use Traefik for local development on daily basis, where I have to run double digit https services. It works, but it was a pain to set up. The documentation sucks ** and the config is confusing AF. I would never recommend this to anyone. If i will have to reinstall my computer one day, Traefik will not be welcomed back.

I have completely opposite experience. To me Traefik is the easiest thing to work with on the market. It should be even easier now to setup using Agentic AI.

Re: Traefik's 10-year anniversary

#113

Earlier quoted context omitted.

My original comment probably wasn't clear enough, I meant to say that caddy doesn't support layer 4 TLS termination without third-party modules. For example, if I wanted a reverse proxy in front of a Gitea instance that would terminate and route TCP packets to/from port 22... this is something Traefik can do out of the box.

We plan to move layer4 into the standard Caddy distribution eventually. We're still stabilizing it, and once we're happy with it (and have the time and energy to) we'll bring it in.

Exciting! Looking forward to it. I end up needing xcaddy for a few other modules so it's not that big of a deal, but I always feel better using first-party functionality over relying on third-party modules.

Re: Traefik's 10-year anniversary

#114
post #36

I use Traefik for local development on daily basis, where I have to run double digit https services. It works, but it was a pain to set up. The documentation sucks ** and the config is confusing AF. I would never recommend this to anyone. If i will have to reinstall my computer one day, Traefik will not be welcomed back.

Yeah I deal with it because it's part of the ansible matrix playbook. But I hate it, I always have issues with it. Complex configs, things not quite working right.

Nginx which they used before works much better. And these days I use caddy on everything else. That really shines.

Re: Traefik's 10-year anniversary

#115
post #92

Earlier quoted context omitted.

I use caddy similarly, but it's a pretty straight forward setup.

As a self-hosting noob, I never got traefik to work properly, then caddy just worked and has been working since.

Yeah same here. Caddy is so well designed. I hated traefik from the start and even though it works now I still hate it. The moment I used caddy everything was clear and just worked. Basically what nginx used to be 15 years earlier. But it didn't really keep up with the times and they care more about the commercial thing now.

Re: Traefik's 10-year anniversary

#116

Earlier quoted context omitted.

We plan to move layer4 into the standard Caddy distribution eventually. We're still stabilizing it, and once we're happy with it (and have the time and energy to) we'll bring it in.

Exciting! Looking forward to it. I end up needing xcaddy for a few other modules so it's not that big of a deal, but I always feel better using first-party functionality over relying on third-party modules.

There's even a great docker with caddy and the cloudflare DNS-01 module built in which was just what I needed. That saved me having to deal with xcaddy (it was ok, but compiling was slow)

Re: Traefik's 10-year anniversary

#117

So much hate for Traefik here. I don't get it. I personally use it and find it amazing, but I read elsewhere that their enterprise offering is prohibitively expensive. I wish them to succeed, Traefik has been one of my favorite choices for Kubernetes for a long time now :)

They consider caching and TLS to be enterprise features.

If you can't get the basics right, you stay at the kids table forever.

Re: Traefik's 10-year anniversary

#118
Used Traefik a couple times in my homelab, would’ve been circa 2017/2018. Worked great when it worked, otherwise it tended toward breaking ungracefully and confusingly. Tried it again for a short time in 2022, rock solid, no complaints. I’m glad to see the project’s maturity has kept up! Congratulations on ten years!

Re: Traefik's 10-year anniversary

#119
post #117

So much hate for Traefik here. I don't get it. I personally use it and find it amazing, but I read elsewhere that their enterprise offering is prohibitively expensive. I wish them to succeed, Traefik has been one of my favorite choices for Kubernetes for a long time now :)

They consider caching and TLS to be enterprise features. If you can't get the basics right, you stay at the kids table forever.

Wdym TLS is an enterprise feature? I'm using mTLS and TLS in their OSS version. The certificates are generated via cert-manager. If you expect something like Caddy's auto-provision of certs, then (AFAIK) neither HAProxy nor NGINX have it

Re: Traefik's 10-year anniversary

#120

There's a lot of mentions to Caddy here. Haven't used it as, back in the day, there was something funny about its license and binary distribution. AFAIK that's not a problem anymore, isn't it? From people that migrated from Traefik to Caddy... What are the main differences? Anything you really miss? I use Traefik in a bunch of small deployments, sometimes pointing to Docker stuff, sometimes outside of Docker, Kuberne…

I guess one possible gotcha I can think of is, be prepared to build your own binaries/images if you aren't already. Some bread-and-butter features like L4 proxying depend on plugins and aren't part of the core package. It's good to self-build for other reasons, just sayin', distro versions or the official docker image will only get you so far.

Also iirc not all such functionality is actually available when configuring via Caddyfile so it can be confusing if you expect that and don't realize you need to switch to json/yaml configuration to do what you want. A little remniscient of the Traefik static/dynamic confusion ;)

All good, just things that can be different than what you are used to and expect.

Post reply on HN