If you need a scalable reverse proxy, powerful, and efficient static file server then try the caddy web server. It’s open source web server neatly crafted in Go. Today I’m going to show you how to install Caddy on CentOS 7.
Prerequisites
- CentOS 7
- sudo privileges
Install Caddy on CentOS 7
Step 1. Install yum-plugin-copr
to enable Caddy server.
sudo yum install yum-plugin-copr
Step 2. Enable the caddy package.
sudo yum copr enable @caddy/caddy
Step 3. Install Caddy web server.
sudo yum install caddy
Step 4. Verify the installation.
caddy --version
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.