Created
August 16, 2021 09:12
-
-
Save bobmoff/d28ac7780abfe67d7b52f9b0395a863e to your computer and use it in GitHub Desktop.
Install Caddy on Ubuntu (Script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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