Skip to content

Instantly share code, notes, and snippets.

View kristian-lange's full-sized avatar

Kristian Lange kristian-lange

View GitHub Profile
@kristian-lange
kristian-lange / caddy.sh
Last active December 15, 2018 16:22 — forked from Jamesits/caddy.sh
Install Caddy Server on Ubuntu with Systemd.
#!/bin/bash
# This shell script installs and starts Caddy (https://caddyserver.com/) on Debian based distros.
# It uses Caddy's personal license (https://caddyserver.com/products/licenses).
# This script is a fork from https://gist.github.com/Jamesits/2a1e2677ddba31fae62d022ef8aa54dc.
# It will by default install all plugins; you can customize this behavior on line 7.
apt update
apt install curl
curl https://getcaddy.com | bash -s personal