From d3f58f9b7d645b2e5ece9f6ce5bff0e4bde033a9 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Fri, 20 May 2022 00:36:06 +0200 Subject: [PATCH] Fix caddy installation docs (#5209) Applies Caddy installations documentation fixes and also resolves the following issue when trying to install Caddy: W: GPG error: https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABA1F9B8875A6661 See: - https://github.com/caddyserver/website/commit/930109ec3399035c4870a6c6a673537ca4813960 - https://github.com/caddyserver/website/commit/2e255b1ee39c36919e913466489c205e47a7a8f2 - https://github.com/caddyserver/website/commit/0f4885e59214a2d08a775051b587bb3363c7453c --- docs/guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index b08a3ed1..f3a8a4f0 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -126,8 +126,8 @@ access code-server on an iPad or do not want to use SSH port forwarding. ```console 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 +curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo apt-key add - +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 ```