News for hackers. Stuff that matters.
Re:Show HN: Caddy 2 by gnalck on Monday May 04, 2020 @02:11PM (#23071343)
Hey Matt - thanks for creating and maintaining Caddy all these years! Like others have said in this thread, it is so easy to set up and maintain that it really does feel like "magic".

In terms of speeding up adoption of Caddy 2, it may be useful to have a list somewhere of the concrete improvements between the two (as I'm sure there are many). A (very) brief look and search around only yielded this article[1] which referenced another link of improvements that now 404s[2].

Cheers,

[1] https://caddyserver.com/v1/blog/caddy-2-ready-for-developers

[2] https://github.com/caddyserver/caddy/tree/v2#list-of-improve...

Re:Show HN: Caddy 2 by mholt on Monday May 04, 2020 @02:18PM (#23071431)
Thanks for the feedback! Glad you have had a good experience with it.

That blog post is pretty old. We do have a current upgrade guide here in our docs: https://caddyserver.com/docs/v2-upgrade

We also have a (sort of deprecated) wiki with some (slightly outdated) high-level improvements listed: https://github.com/caddyserver/caddy/wiki/v2:-Improvements

Re:Show HN: Caddy 2 by x3haloed on Monday May 04, 2020 @04:45PM (#23073037)
Another piece of feedback: It’s scary to consider using such a crucial piece of software in production when documentation is referred to as “sort of deprecated” and “slightly outdated.”
Re:Show HN: Caddy 2 by francislavoie on Monday May 04, 2020 @04:51PM (#23073094)
Because that's the old documentation, from early betas of Caddy v2.

The official documentation at https://caddyserver.com/docs/ is up to date, and not deprecated.

Re:Show HN: Caddy 2 by x3haloed on Monday May 04, 2020 @07:36PM (#23074654)
Oh! That’s good news. I’m excited to give it a try either way.
Re:Show HN: Caddy 2 by jbverschoor on Monday May 04, 2020 @04:17PM (#23072769)
Adoption for me would be to have an official apt repo :)
Re:Show HN: Caddy 2 by mholt on Monday May 04, 2020 @04:25PM (#23072840)
I mean, we want one too, but it's ridiculously hard: https://news.ycombinator.com/item?id=23072385

Help? :D

Re:Show HN: Caddy 2 by pilif on Tuesday May 05, 2020 @12:28AM (#23076490)
I think the parent poster would already be happy with an APT repo provided by Caddy. It wouldn’t need to be included in Debian itself.

When you can make dpkg files, making an apt repo is trivial (using reprepro shipped with Debian)

And when it’s your repo, you make the rules about packaging what dependencies into which file(s)

But by having an apt repo (that users would subscribe to), you make it much easier for users to keep up to date

Re:Show HN: Caddy 2 by francislavoie on Tuesday May 05, 2020 @12:43AM (#23076586)
Re:Show HN: Caddy 2 by StavrosK on Tuesday May 05, 2020 @09:15AM (#23079663)
Oooh this is great news, I can finally quit updating Caddy by hand!
Re:Show HN: Caddy 2 by guggle on Monday May 04, 2020 @09:55PM (#23075551)
Talk about a bummer... Golang makes it easy to make static binaries. Way too easy for the distro apparently.

Deb files will be just fine.

Re:Show HN: Caddy 2 by wingworks on Monday May 04, 2020 @07:49PM (#23074743)
Pretty close to official. https://caddyserver.com/docs/install