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.

Revisions

  1. xamfy created this gist May 10, 2024.
    5 changes: 5 additions & 0 deletions caddy-setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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