From 2c4622f1d9dbef186f78d69a0a325f030210fb2c Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Wed, 18 May 2022 23:11:18 +0200 Subject: [PATCH] Fix caddy installation docs 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 b08a3ed17208..f3a8a4f0477f 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 ```