Skip to content

Instantly share code, notes, and snippets.

@xamfy
Created May 10, 2024 13:46
Show Gist options
  • Save xamfy/c1cef56b6885cd6fea1a45298363522b to your computer and use it in GitHub Desktop.
Save xamfy/c1cef56b6885cd6fea1a45298363522b to your computer and use it in GitHub Desktop.
caddy-setup
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
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