Re:Let's Encrypt and Nginx – State of the art secure web dep...
by diakritikal on Thursday March 31, 2016 @03:24PM
(#11399853)
Just using caddy server seems a lot simpler...
[ Parent
| on HN ]
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by qrv3w on Thursday March 31, 2016 @03:44PM
(#11400012)
+1 for Caddy. I was using NGINX a long time, and wrote some similar scripts to make certificates for my web apps. After I switched to Caddy I had a 6x smaller config file, no more ln -s, and HTTPS without every having to think about it!
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by tlrobinson on Thursday March 31, 2016 @04:02PM
(#11400169)
Neat, I like that when started with no arguments/config it just serves the files in the current directory, but then you can customize it from there.
I have "alias webserver='python -m SimpleHTTPServer'" in my shell config, but I think I'll switch to Caddy.
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by callahad on Thursday March 31, 2016 @04:15PM
(#11400271)
For local development, consider looking into devd (https://github.com/cortesi/devd). It's a single binary that supports things like livereload, network throttling, routing, and reverse proxying.
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by StavrosK on Thursday March 31, 2016 @08:17PM
(#11401630)
Ooh, that looks pretty nice. I was using Caddy to serve the current directory, but this seems even nicer.
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by sbarre on Thursday March 31, 2016 @03:47PM
(#11400050)
I'd never heard of Caddy, and it looks great! Thanks for giving me something to tinker with this weekend! :-)
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by zenlikethat on Thursday March 31, 2016 @09:41PM
(#11401985)
Agreed, Caddy is great.
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by aroch on Thursday March 31, 2016 @04:39PM
(#11400406)
You do need to restart Caddy in order to renew your cert, FWIW
Re:Let's Encrypt and Nginx – State of the art secure web dep...
by mholt on Thursday March 31, 2016 @04:45PM
(#11400435)
Not true - Caddy has always renewed certificates automatically, and the latest version (0.8.2) renews without restarting. Relevant change: https://github.com/mholt/caddy/commit/11103bd8d68ed9d8dcd2fc...