6 ms·
Anyone with experience migrating a http service from nginx to Caddy or Træfik? Did it work out well or did you end up having to revert back to nginx? If so, wh
by sandstrom 8y ago
Anyone with experience migrating a http service from nginx to Caddy or Træfik?
Did it work out well or did you end up having to revert back to nginx? If so, what was missing?
https://traefik.io/ https://traefik.io/
https://caddyserver.com/ https://caddyserver.com/
- ComputerGuru 8y agoI only have one question, why? I can understand picking one over the other start, but what motivation could you possibly have to actively ditch nginx altogether?
- joshribakoff 8y agoNginx struggles at basic stuff like load balancing to microservice backends because of trivial stuff like DNS caching when running inside container orchestration platforms https://serverfault.com/questions/240476/how-to-force-nginx-to-resolve-dns-of-a-dynamic-hostname-everytime-when-doing-p https://serverfault.com/questions/240476/how-to-force-nginx-... With the new ingress in Kubernetes & lets encrypt plugin, you probably do not need nginx anymore, if you're adopting containers. In fact, it can be a hindrance to adopting container orchestration systems.
- e12e 8y agoSounds like it's more haproxy vs traefik or nginx vs Caddy. If you don't need a Web server, you should probably be using haproxy already;)
- joshribakoff 8y agoHaproxy, Nginx, kubernetes all implement layer 4 & layer 7 load balancing. If you are aspiring to writing cloud native applications, there is not very compelling reasons to run reverse proxies in my opinion. If its possible to offload that responsibility to the cloud platform vs running your own infrastructure, that is highly desirable for some people.
- dankohn1 8y agoIn particular, I highly recommend checking out Envoy and Linkerd, which enable service mesh architectures and can take the place of HAProxy, Nginx, etc. Here are all service management projects that CNCF tracks: https://landscape.cncf.io/grouping=no&landscape=service-management https://landscape.cncf.io/grouping=no&landscape=service-mana... (Disclosure: I'm executive director of CNCF, which hosts Envoy and Linkerd, and created the interactive landscape.)
- chimen 8y agoAny docs on the new ingress and kubernetes plugin? All I find is kube-lego which is quite old already.
- unethical_ban 8y agoCaddy's binary distribution is closed-license, so beware. If you need it to be truly free, compile it from source. I did like Caddy's simple configuration format, though.