caddy2 deployment repo
Go to file
Kebler Network System Administrator fb8bc43ca4 update binaries to 2.4.6 2022-02-01 16:39:01 -08:00
.gitsecret added aws credentials encrypted as it is to be shared between instances 2021-10-10 13:07:36 -07:00
bin update binaries to 2.4.6 2022-02-01 16:39:01 -08:00
build refactor of caddy script 2021-10-10 12:36:03 -07:00
conf added aws credentials encrypted as it is to be shared between instances 2021-10-10 13:07:36 -07:00
filters refactor of caddy script 2021-10-10 12:36:03 -07:00
scripts mksuer echos modified for access 2021-11-22 11:23:37 -08:00
systemd reworked caddy script - removed cmdline support for netbind 2020-11-27 15:52:32 -08:00
.gitignore refactor of caddy script 2021-10-10 12:36:03 -07:00
README.md update readme 2020-11-08 17:29:08 -08:00

README.md

Caddy Web Server

Clone this repo to /opt/caddy or your favorite location

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

Install

run these scripts

/opt/caddy/scripts/mkuser

Fetch or Build and Install a Caddy Binary

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

git secrets

see git secret docs

pre-commit hook

Reveal any secrets

open terminal on giskard in mounted caddy directory.

Run

git secret reveal

it will ask for passphrase used when creating git secrets for repo.

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 run

/opt/caddy/scripts/newconf

which will create conf of the correct ownership/permissions. you will need to add an