caddy2 deployment repo
Go to file
David Kebler 410fac6cbb updating readme 2020-06-30 08:01:17 -07:00
.gitsecret add aws credentials secret 2020-05-17 19:33:35 -07:00
bin add aws credentials secret 2020-05-17 19:33:35 -07:00
conf make sepearte lights.conf for both networks 2020-06-20 15:25:18 -07:00
env add aws credentials secret 2020-05-17 19:33:35 -07:00
filter first commit 2020-05-12 20:07:05 -07:00
scripts add lights conf and also a script to add a new conf with the correct ownership 2020-05-18 13:45:06 -07:00
systemd switched to systemd template file to use with any conf file in /conf with default being caddy.conf file 2020-05-18 07:24:58 -07:00
.gitignore ignore caddy link. Must be made in each install with ./arch script 2020-05-18 12:55:25 -07:00
README.md updating readme 2020-06-30 08:01:17 -07:00
caddy-service.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