diff --git a/caddy-install.sh b/caddy-install.sh new file mode 100644 index 0000000..27fbcbe --- /dev/null +++ b/caddy-install.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list +sudo apt update +sudo apt install caddy \ No newline at end of file