caddy-install

This commit is contained in:
Ankit Patial 2024-09-30 10:51:19 +00:00
parent 8e49dd7e13
commit 8236dceb6c

7
caddy-install.sh Normal file
View File

@ -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