Automatic HTTPS with Caddy Server

Yesterday I installed Caddy on my Linode server instance. Caddy is a HTTP/2 web server with automatic HTTPS. I’m no longer using Apache to serve up my websites and everything now redirects to HTTPS. It should work in all modern browsers, but please let me know if you experience any problems.

Caddy was super simple to setup (way easier than Apache or NGINX) and the automatic HTTPS is really cool. Caddy obtains SSL certificates for my configured domains from Let’s Encrypt. Let’s Encrypt is a free, automated, and open certificate authority. By providing trusted certificates free of charge to anyone with a domain name they hope to push more of the web towards encrypted communication.

From Caddy’s announcment about their Let’s Encrypt integration:

Today, Internet users are threatened with mass surveillance and invasive packet tampering which undermines our privacy and destroys the integrity of what we read. Encryption can keep the Web safe and reliable if it’s used everywhere, but this will never happen while site owners need extra financial and technical means to employ encryption if they can run their site more easily without it.

If you run your own server and can serve your content either statically or via FastCGI I recommend checking out Caddy.

← 
 →
Blog Updates
comments powered by Disqus