Skip to content
Dev.to

Caddy Has a Free API: The Web Server With...

Nginx needs 15 lines of config for HTTPS. Caddy needs 2. And it handles certificate renewal automatically. What Is Caddy? Caddy is a modern web server with automatic HTTPS. It obtains and renews TLS certificates from Let's Encrypt without any configuration. # Caddyfile — that's the ENTIRE config mysite.com { reverse_proxy localhost:3000 } caddy run # HTTPS certificate obtained and configured automatically Reverse Proxy # Multiple backends api.example.com { reverse_proxy localhost:8080 } app.exam
Read original on dev.to
0
0

Comment

Sign in to join the discussion.

Loading comments…

Related

Liked this? Start your own feed.

Your own feed is waiting.
0
0