From 8236dceb6cae4be98eedcbe4660ea9b69e00069c Mon Sep 17 00:00:00 2001 From: ankitpatial Date: Mon, 30 Sep 2024 10:51:19 +0000 Subject: [PATCH] caddy-install --- caddy-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 caddy-install.sh 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