caddy_install.sh uses "https://caddyserver.com/download/linux/amd64${extension_all}" to download caddy. But unfortunately, You will get a 404. Because caddyserver.com stop to support it. ### How to fix it? You can get the new tar.gz from here: https://github.com/caddyserver/caddy For example, replace "https://caddyserver.com/download/linux/amd64${extension_all}" with "https://github.com/caddyserver/caddy/releases/download/v2.4.0/caddy_2.4.0_linux_amd64.tar.gz".
caddy_install.sh uses "https://caddyserver.com/download/linux/amd64${extension_all}" to download caddy. But unfortunately, You will get a 404. Because caddyserver.com stop to support it.
How to fix it?
You can get the new tar.gz from here: https://github.com/caddyserver/caddy
For example, replace "https://caddyserver.com/download/linux/amd64${extension_all}" with "https://github.com/caddyserver/caddy/releases/download/v2.4.0/caddy_2.4.0_linux_amd64.tar.gz".