Live data from Hacker News

Show HN: Caddy 2

caddyserver.com

81–90 of 247 posts

Re: Show HN: Caddy 2

#81
post #68
post #14

Hi HN -- this is what I've been working on for the last 14 months, with the help of many contributors and the backing of several sponsors. (Thank You!) Caddy 2 is a fresh new server experience. Some things might take getting used to, like having every site served over HTTPS unless you specify http:// explicitly in your config. But in general, it will feel familiar to v1 in a lot of ways. If you've used v1 before, I r…

What are some of the primary use cases you envision(ed) as well as any that have arisen?

It's often used as a reverse proxy and static file server, but oh, so much more is possible. Today, if you're using HTTPS, you should almost certainly be using Caddy. Maybe tomorrow if you need to set up a memory-safe SSH server, you could be using Caddy. (Just an example.)

Re: Show HN: Caddy 2

#82
I am a happy user of Caddy v1, and I want to thank you developers! It's made my life much easier, managing TLS automatically for my home server, and having a less than 10 lines adequate config for 3 web services I use behind it. I even forgot I was using Caddy, which is a proof of how great it is for systems integration.

I'll be looking forward to v2 in a few weeks, when I will upgrade to newer ubuntu and go full ZFS.

Thank you!

Re: Show HN: Caddy 2

#83

Hi Matt, Thanks for the nice piece of software. I like Caddy a lot. I would like to better integration with docker in terms of automated exposure of docker services based on labels for example. Similar how traefik does. That would be really nice to have.

I've always felt like that was kind of a hack, but with Caddy's API it's doable. I don't really use Docker myself, so... want to contribute the feature? I'll show you how to integrate it.

You might be interested in this discussion: https://github.com/lucaslorentz/caddy-docker-proxy/issues/13...

Re: Show HN: Caddy 2

#84

Hi @mholt, thanks a lot for Caddy. It is really awesome and we are considering using it for www.mailerlite.com landing pages. The problem that we have right now is that there is no Cloudflare plugin built-in for V2 so it is a show stopper for us. Congrats on the release!

Cloudflare plugin, that does what exactly?

You mean like this one? https://github.com/caddy-dns/cloudflare

(I'm using it today, works great. Assuming that's what you meant.)

Re: Show HN: Caddy 2

#85

YESSS so happy there's now an apt install method: echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list apt update && apt install caddy

Yeah, not gonna use just any apt source. I'll pass.

It's not a random source. The package is created by the release script in Caddy's repo: https://github.com/caddyserver/caddy/blob/e051e119d1dff75972...

There's ongoing effort to package Caddy into Debian. Until then, this is the alternative as stopgap.

Re: Show HN: Caddy 2

#87
post #14

Hi HN -- this is what I've been working on for the last 14 months, with the help of many contributors and the backing of several sponsors. (Thank You!) Caddy 2 is a fresh new server experience. Some things might take getting used to, like having every site served over HTTPS unless you specify http:// explicitly in your config. But in general, it will feel familiar to v1 in a lot of ways. If you've used v1 before, I r…

Congrats on the launch Matt. Great to see other independent software projects thriving like this. Keep up the hard work.

Re: Show HN: Caddy 2

#88
post #81
post #68

Earlier quoted context omitted.

What are some of the primary use cases you envision(ed) as well as any that have arisen?

It's often used as a reverse proxy and static file server, but oh, so much more is possible. Today, if you're using HTTPS, you should almost certainly be using Caddy. Maybe tomorrow if you need to set up a memory-safe SSH server, you could be using Caddy. (Just an example.)

Sorry for the stupid question, but what is a "memory-safe SSH server"? Thanks!

Re: Show HN: Caddy 2

#89

YESSS so happy there's now an apt install method: echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list apt update && apt install caddy

Yeah, not gonna use just any apt source. I'll pass.

You may already know this, but it's very tricky to package Golang projects in official debian repos because they require that every dependency be a separate package. This is a ton work both upfront and to maintain in the long-term, so we haven't made much progress on that front.

We'd love to get some help from people who are more comfortable with the debian ecosystem though! It's definitely something we want to achieve, but for the short term we had to make the decision to simply release the .deb via https://gemfury.com which provides us with free APT repo hosting for open source projects.

Post reply on HN