Today I had a chance to try Caddy for dev purpose, and you guess what, it was extremely easy and funny. Only two steps and boom, you got a secured website almost instantly. Here are the steps I followed:
Install Caddy on Ubuntu/Debian
Check their documentation for another OS/installation method.
That’s it, you can now browse https://dev-api.your-domain.com. In my case, a REST API service was running on port 8000 and I configured Caddy as a reverse proxy. Configuring Caddy should be easy for other use cases as well, I’m pretty sure.