Skip to content

Instantly share code, notes, and snippets.

@bobmoff
Created August 16, 2021 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobmoff/d28ac7780abfe67d7b52f9b0395a863e to your computer and use it in GitHub Desktop.
Save bobmoff/d28ac7780abfe67d7b52f9b0395a863e to your computer and use it in GitHub Desktop.
Install Caddy on Ubuntu (Script)
#!/bin/bash
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
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 -y caddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment