Live data from Hacker News

Show HN: Caddy v2.5.0

github.com

61–70 of 115 posts

Re: Show HN: Caddy v2.5.0

#61
post #48
post #44

Earlier quoted context omitted.

I'm a heavy nginx user - there's not much that I haven't already done with it and I know the documentation quite well. Why would someone like me change to Caddy? I can see there are some NGINX Plus features that are free in Caddy.

Single binary is nice, live config changes, let’s encrypt is built in.

And memory safety! No C at the edge.

Re: Show HN: Caddy v2.5.0

#63

Is Caddy scriptable? I don't know much about it. But ever since I discovered nginx-lua-module and OpenResty it's been pretty much a game-changer for me. Curious if other popular webservers have done similar? Not really talking about things like mod_perl/php. Although I guess those are somewhat the same thing.

It's also very easy to write plugins for Caddy: https://caddyserver.com/docs/extending-caddy

True, that's one reason we haven't prioritized scripting too. Writing a plugin that is natively compiled in is just as easy and can perform even better.

Re: Show HN: Caddy v2.5.0

#64

I utterly adore your project. Thank you so much. Are there plans for SMTP or IMAP proxying? Do you do SNI proxying too? I would love for Caddy to be my one stop shop for all TLS termination.

"Caddy L4" aka "Project Conncept" might be what you're looking for: https://github.com/mholt/caddy-l4 "Project Conncept is an experimental layer 4 app for Caddy. It facilitates composable handling of raw TCP/UDP connections based on properties of the connection or the beginning of the stream."

Yep, that module is exactly how to do it!

But Caddy's http server can also do basic logic around SNI if I recall correctly.

Re: Show HN: Caddy v2.5.0

#66

After more than 10 year nginx, I switched to Caddy and never regretted a moment.

Hey, as a nginx user for many many years, I don't understand why would I want to switch. Can you please give a few examples why it made sense for you? Especially with kubernetes environment I have a hard time trying to justify this.

Re: Show HN: Caddy v2.5.0

#67
Wow the new features sound great. Does tailscale run a local DNS server or provide AAAA or SRV records that the new dynamic upstream could connect to directly? The combo of dynamic upstream and dynamic HTTPS certs automatically from tailscale would be really nice. I'd love to just run tailscale and caddy locally on all machines and instantly have 100% proper browser HTTPS and DNS name access to all my tailscale services.

If tailscale doesn't provide it, anyone know of a DNS server that's caddy-like in simplicity and dead simple ease of running on localhost with minimal config, secure by default, etc?

Re: Show HN: Caddy v2.5.0

#68

Wow the new features sound great. Does tailscale run a local DNS server or provide AAAA or SRV records that the new dynamic upstream could connect to directly? The combo of dynamic upstream and dynamic HTTPS certs automatically from tailscale would be really nice. I'd love to just run tailscale and caddy locally on all machines and instantly have 100% proper browser HTTPS and DNS name access to all my tailscale servi…

You can learn about the Tailscale feature here: https://tailscale.com/blog/caddy/

Basically this is more about grabbing the TLS cert from Tailscale's daemon. How you handle the request is up to you. It's not related to the dynamic upstreams feature.

Re: Show HN: Caddy v2.5.0

#70

I'd rather use something that can be packaged and maintained properly by distributions: https://repology.org/project/caddy/versions I use distributions because I care about security and I'll be downvoted to oblivion for saying this.

Yeah, if you're looking for a package, you'll want to stick to the Cloudsmith .deb since it's bound to Caddy's GitHub release workflow so guaranteed to stay up-to-date: https://cloudsmith.io/~caddy/repos/stable/packages/

P.S., from the guidelines:

> Please don't comment about the voting on comments. It never does any good, and it makes boring reading.

edit: and an official response https://news.ycombinator.com/item?id=31170881

Post reply on HN