caddy2 deployment repo
Go to file
David Kebler b9f310d461 new caddy script which is used to launch caddy either from commandline or systemd 2020-11-20 11:06:19 -08:00
.gitsecret update readme 2020-11-08 17:29:08 -08:00
bin update readme 2020-11-08 17:29:08 -08:00
build moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
conf update readme 2020-11-08 17:29:08 -08:00
env add aws secret 2020-11-08 18:13:07 -08:00
example-web update readme 2020-11-08 17:29:08 -08:00
filter first commit 2020-05-12 20:07:05 -07:00
scripts new caddy script which is used to launch caddy either from commandline or systemd 2020-11-20 11:06:19 -08:00
systemd moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
.gitignore new caddy script which is used to launch caddy either from commandline or systemd 2020-11-20 11:06:19 -08: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