Skip to content

Commit 22ebfdc

Browse files
authored
doc/guide.md: Update caddy install instructions (#2601)
Caddy has new installation instructions for Debian. Closes #2599
1 parent aab973a commit 22ebfdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/guide.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,9 @@ Assuming you have been following the guide, edit your instance and checkmark the
180180
3. Install caddy https://caddyserver.com/docs/download#debian-ubuntu-raspbian.
181181

182182
```bash
183-
echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" \
184-
| sudo tee -a /etc/apt/sources.list.d/caddy-fury.list
183+
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
184+
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/cfg/gpg/gpg.155B6D79CA56EA34.key' | sudo apt-key add -
185+
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
185186
sudo apt update
186187
sudo apt install caddy
187188
```

0 commit comments

Comments
 (0)