Created
July 26, 2025 07:23
-
-
Save orange723/9013550c46c0a893f070215d05140244 to your computer and use it in GitHub Desktop.
ubuntu install caddy
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
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 | |
chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg | |
chmod o+r /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