Skip to content

Commit b3fc218

Browse files
authored
[update] Installing and Configuring the Caddy Web Server on Debian 10 (#7157)
Updated the installation command after validating on Debian 10
1 parent 3264393 commit b3fc218

File tree

1 file changed

+4
-2
lines changed
  • docs/guides/web-servers/caddy/how-to-install-and-configure-caddy-on-debian-10

1 file changed

+4
-2
lines changed

docs/guides/web-servers/caddy/how-to-install-and-configure-caddy-on-debian-10/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,17 @@ aliases: ['/web-servers/caddy/how-to-install-and-configure-caddy-on-debian-10/']
3636

3737
1. Download `caddy`:
3838

39-
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
40-
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
39+
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
40+
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
4141
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
4242

4343
1. Install Caddy:
44+
4445
sudo apt update
4546
sudo apt install caddy
4647

4748
1. To verify the installation of caddy type:
49+
4850
caddy version
4951
An output similar to the following appears:
5052

0 commit comments

Comments
 (0)