Live data from Hacker News

Caddy – Open-source web server with automatic HTTPS

caddyserver.com

1–10 of 132 posts

Re: Caddy – Open-source web server with automatic HTTPS

#2
Caddy is fantastic. I do the odd freelance contract making touch screen interactives for museums here. These have to run on the local host machine which usually isn't networked and Caddy is perfect for this. The last one I did had a massive DeepZoom/OpenSeaDragon image tileset and Caddy managed to serve that flawlessly where my old go to server Mongoose couldn't keep up.

Re: Caddy – Open-source web server with automatic HTTPS

#6
post #4

I love Caddy! It’s so much nicer to configure compared to Nginx. No plugins needed for automatic TLS certs – it’s bulilt-in. And it’s written in a memory-safe language – Go. Which also means a single static binary to deploy. I can warmly recommend it.

Go is not memory safe, not sure where you got that idea. Go programs can absolutely succumb to nil pointer references, memory leaks, etc.

Re: Caddy – Open-source web server with automatic HTTPS

#7
Caddy is great, makes it easy to just set something up and go. For some reason I can't put my finger on I was really fighting with getting what I wanted to know out of the documentation initially but either it got better since Caddy 2 released or I just got used to it/Caddy and am no longer fighting "newness".

Re: Caddy – Open-source web server with automatic HTTPS

#8
post #6
post #4

I love Caddy! It’s so much nicer to configure compared to Nginx. No plugins needed for automatic TLS certs – it’s bulilt-in. And it’s written in a memory-safe language – Go. Which also means a single static binary to deploy. I can warmly recommend it.

Go is not memory safe, not sure where you got that idea. Go programs can absolutely succumb to nil pointer references, memory leaks, etc.

Safety can include crashing. It's better than returning subtly incorrect results. Yes, there are nil pointers and unnecessary data structures that people keep around, but that's miles ahead of C where an HTTP request and a missing bounds check can inject new code into the application.

If you have a Go program where user input can be executed as code (no cgo, no unsafe), I'd love to see it.

Re: Caddy – Open-source web server with automatic HTTPS

#10
post #6
post #4

I love Caddy! It’s so much nicer to configure compared to Nginx. No plugins needed for automatic TLS certs – it’s bulilt-in. And it’s written in a memory-safe language – Go. Which also means a single static binary to deploy. I can warmly recommend it.

Go is not memory safe, not sure where you got that idea. Go programs can absolutely succumb to nil pointer references, memory leaks, etc.

That's type safety, not memory safety.

... But no, Go isn't memory safe, insofar data races can cause memory corruption.

Post reply on HN