post

Caddy Web Server

Caddy Web Server

Caddy is an HTTP/2 web server which automatically configures your site to use HTTPS.

The Caddy Web Server uses the excellent and free Let’s Encrypt. Let’s Encrypt is a certificate authority. We use it to obtain and install an SSL certificate for your site. This all happens seamlessly in the background. Most importantly, it works very well.

The configuration file is called a Caddyfile.

It is simple to set up and deploy. The caddyfile documentation is easy to understand and configure. The default file is simple, and works like a template. All in all, your website is up to speed very quickly, using these processes.

For example, here is the Caddyfile that I put together to serve KEVINDUSTRIES:

I am an administrator for many sites. Consequently, I still use Nginx for most of them.

However, Caddy is a robust and easy to use and set up web server. It’s another tool in the web server toolbox. Certainly, I will consider using it for future projects. Give it a try and let me know what you think.

The great thing about Caddy is that if you are not very technically inclined, it is still pretty easy to get running.

If you get stuck and need some help, please fill out a Service Request.

Update – August 18, 2021 – I used the Caddy Web Server to serve this very site for about two months. I did not run into any issues at all during that time. The site was happily humming along without any major hiccups. It was a good experiment to truly test Caddy’s performance under real world conditions. Caddy performed well. Ultimately, I went back to using Nginx to serve this website. In short, I am more comfortable with Nginx. Since all of my other sites are running Nginx, it makes sense to standardize with one piece of software.