I used the following command on CentOS 7 to install Caddy 2:
yum install yum-plugin-copr
yum copr enable @caddy/caddy
yum install caddy
However, I see that it installs RC3 instead of Caddy 2 stable. So, I urge developer to update the installation to the latest stable version please.