Created
December 24, 2015 00:07
-
-
Save abegodong/d5d76406563975fda529 to your computer and use it in GitHub Desktop.
Caddy installer
This file contains 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/sh | |
apt-get update && apt-get -y upgrade | |
apt-get install curl | |
mkdir caddy && cd caddy | |
curl -s "https://caddyserver.com/download/build?os=linux&arch=amd64&features=cors%2Cgit%2Cipfilter" | tar xz | |
mv caddy /usr/bin | |
cd .. && rm -rf caddy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment