caddy2 deployment repo
Go to file
David Kebler 5e7c0e94a0 set specific conf files as secrets 2020-10-26 10:43:32 -07:00
.gitsecret set specific conf files as secrets 2020-10-26 10:43:32 -07:00
bin new install script for github releases 2020-10-26 10:11:41 -07:00
build new install script for github releases 2020-10-26 10:11:41 -07:00
conf set specific conf files as secrets 2020-10-26 10:43:32 -07:00
env set specific conf files as secrets 2020-10-26 10:43:32 -07:00
example-web set specific conf files as secrets 2020-10-26 10:43:32 -07:00
filter first commit 2020-05-12 20:07:05 -07:00
scripts fixed own (added +x so group caddy (sysadmin) has access to caddy made . directories 2020-07-28 10:15:30 -07:00
systemd new install script for github releases 2020-10-26 10:11:41 -07:00
.bash_history.secret set specific conf files as secrets 2020-10-26 10:43:32 -07:00
.gitignore set specific conf files as secrets 2020-10-26 10:43:32 -07:00
README.md updating readme 2020-06-30 08:01:17 -07:00

README.md

Caddy Web Server

Clone this repo to /opt/caddy

git clone https://git.kebler.net/kebler.net/caddy.git /opt/caddy

Install

run these scripts

/opt/caddy/scripts/mkuser && /opt/caddy/scripts/own

Set the architecture binary (either amd64 or arm64)

/opt/caddy/scripts/arch <amd64|arch64>

Reveal the aws credentials

open terminal on giskard in mounted caddy directory.

Run

git secret reveal

it will ask for passphrase. See entry in keepass kebler.net repo secret keys

if can't mount the directory then will have to move a copy of the keyring in ~/.gnupg to remote machine

conf

To make a new conf file to edit

/opt/caddy/scripts/newconf