Skip to content

Commit

Permalink
[update] Installing and Configuring the Caddy Web Server on Debian 10 (
Browse files Browse the repository at this point in the history
…#7157)

Updated the installation command after validating on Debian 10
  • Loading branch information
Rajakavitha1 authored Dec 5, 2024
1 parent 3264393 commit b3fc218
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ aliases: ['/web-servers/caddy/how-to-install-and-configure-caddy-on-debian-10/']

1. Download `caddy`:

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

1. Install Caddy:

sudo apt update
sudo apt install caddy

1. To verify the installation of caddy type:

caddy version
An output similar to the following appears:

Expand Down

0 comments on commit b3fc218

Please sign in to comment.