Skip to content

Instantly share code, notes, and snippets.

@orange723
Created July 26, 2025 07:23
Show Gist options
  • Save orange723/9013550c46c0a893f070215d05140244 to your computer and use it in GitHub Desktop.
Save orange723/9013550c46c0a893f070215d05140244 to your computer and use it in GitHub Desktop.
ubuntu install caddy
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
chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg
chmod o+r /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment