Skip to content

Commit d3f58f9

Browse files
authored
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: - caddyserver/website@930109e - caddyserver/website@2e255b1 - caddyserver/website@0f4885e
1 parent 1e304b1 commit d3f58f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ access code-server on an iPad or do not want to use SSH port forwarding.
126126

127127
```console
128128
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
129-
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/cfg/gpg/gpg.155B6D79CA56EA34.key' | sudo apt-key add -
130-
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
129+
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo apt-key add -
130+
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
131131
sudo apt update
132132
sudo apt install caddy
133133
```

0 commit comments

Comments
 (0)