From 217a0679caf4ed0ca024beaf096d32f87b56e599 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Tue, 19 Jan 2021 12:12:00 -0500 Subject: [PATCH] doc/guide.md: Update caddy install instructions Caddy has new installation instructions for Debian. Closes #2599 --- doc/guide.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guide.md b/doc/guide.md index 0acafef9ad09..3d04dc0c5945 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -180,8 +180,9 @@ Assuming you have been following the guide, edit your instance and checkmark the 3. Install caddy https://caddyserver.com/docs/download#debian-ubuntu-raspbian. ```bash -echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" \ - | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list +sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/cfg/gpg/gpg.155B6D79CA56EA34.key' | sudo apt-key add - +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/cfg/setup/config.deb.txt?distro=debian&version=any-version' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list sudo apt update sudo apt install caddy ```