caddy2 deployment repo
Go to file
David Kebler b3039b4c66 added example.conf 2020-10-27 10:11:42 -07:00
.gitsecret set specific conf files as secrets 2020-10-26 10:43:32 -07:00
build moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
conf added example.conf 2020-10-27 10:11:42 -07:00
example-web moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
filter first commit 2020-05-12 20:07:05 -07:00
scripts moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
systemd moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
.bash_history.secret set specific conf files as secrets 2020-10-26 10:43:32 -07:00
.gitignore reworking scripts 2020-10-26 13:34:42 -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