Skip to content

Commit cb09650

Browse files
authored
Update caddy installation steps (#5384)
The official installation instructions have changed again.
1 parent 0e9ec02 commit cb09650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ 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/gpg.key' | sudo apt-key add -
129+
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
130130
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

0 commit comments

Comments
 (0)