caddy2 deployment repo
Go to file
David Kebler f2b86d4546 added lights.645.kebler.net to nadal 2020-07-28 10:08:45 -07:00
.gitsecret add aws credentials secret 2020-05-17 19:33:35 -07:00
bin upated binaries with new route53 dns challenge 2020-07-02 07:41:53 -07:00
conf added lights.645.kebler.net to nadal 2020-07-28 10:08:45 -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 upated binaries with new route53 dns challenge 2020-07-02 07:41:53 -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
testweb upated binaries with new route53 dns challenge 2020-07-02 07:41:53 -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