18d6663c13
added build arm64 binary for distribution added secrets for conf files updated example website changed build script CGO_ENABLED=0 so cross compiling works |
||
---|---|---|
.gitsecret | ||
bin | ||
build | ||
conf | ||
example-web | ||
filter | ||
scripts | ||
systemd | ||
.gitignore | ||
README.md |
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
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