How to install Caddy Web Server in Ubuntu

Опубликовано: 30 Сентябрь 2024
на канале: Quickloss3
367
19

Update Server:
apt update && apt upgrade -y

install Caddy:
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https -y
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stab... | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stab... | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt-get update
sudo apt-get install caddy -y
sudo systemctl enable --now caddy