caddy-retired/README.md

45 lines
692 B
Markdown

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`
```
```