From 22ebfdc3af44507412a4a7056c168fd59d79ba60 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 1 Feb 2021 04:51:48 -0500 Subject: [PATCH] doc/guide.md: Update caddy install instructions (#2601) 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 0acafef9..3d04dc0c 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 ```