Local SSL Certificates with Caddy Discussion
I'm curious... if you've needed SSL for local development before, what were you building?
My work application runs on two domains and myriad subdomains, which can be a pain to load up in Chrome or Safari (etc.) if you don't have legit certificates installed and all that. We found that by running SSL locally, it helped ensure everything worked on development as it does on production and staging. That said, a tool like Caddy would have saved some headaches back in the early days of getting that going locally!
Great video. I would be very interested in seeing a deeper dive on the reverse proxy features of Caddy!
https://github.com/puma/puma-dev works really nice
Yep! The cool thing about Caddy is you can use it with anything, not just Rack apps.
puma-dev also works with non rack apps :-)
Oh yeah?
Yep.
echo 10000 > ~/.puma-dev/nodeapp.test
That's all :-)
@chris With regards to your question about local dev and needing SSL...I've worked on several enterprise apps for businesses where I authenticated using an SSL cert and not an email/password login. The nice part is you have instant access by going to the site; the harder part is that you require that SSL authentication setup everywhere in order to work. For some local dev container setups, I've been looking at using nginx as a separate container to handle certs.