Add cert scripts; update readme; update gitignore; add nginx

This commit is contained in:
Philip Henning 2024-11-19 10:54:05 +01:00
parent 91c5eb1d9d
commit ae3d5e4df7
9 changed files with 301 additions and 30 deletions

13
scripts/cert_renew.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euf -o pipefail
cd "$(dirname "$(realpath "$0")")../"
lego \
--path ./data/.lego \
--http.port 8080 \
--tls.port 8443 \
--email="acme@base23.de" \
--domains="sso.base23.de" \
--http renew \
--renew-hook="./scripts/cert_renew_hook.sh"