Public repo to distribute scripts and config's
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

11 lines
457 B

  1. #!/bin/bash
  2. echo "Installing Caddy"
  3. apt install -y debian-keyring debian-archive-keyring apt-transport-https
  4. curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
  5. curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
  6. apt-get update
  7. apt-get install caddy -y
  8. echo "Caddy installation completed."