From 4e95ba6c9708389b653fb66f80141655eb5dbb36 Mon Sep 17 00:00:00 2001 From: Philip Henning Date: Tue, 19 Nov 2024 17:31:12 +0100 Subject: [PATCH] copy certificates to the correct directory --- scripts/cert_renew_hook.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cert_renew_hook.sh b/scripts/cert_renew_hook.sh index 9ebd36f..381c2cf 100755 --- a/scripts/cert_renew_hook.sh +++ b/scripts/cert_renew_hook.sh @@ -3,4 +3,6 @@ set -euf -o pipefail cd "$(dirname "$(realpath "$0")")/../" +install -m 400 -o 101 -g 101 "./data/.lego/certificates"/{sso.base23.de.crt,sso.base23.de.issuer.crt,sso.base23.de.key} "./data/nginx/certs" + docker compose restart nginx