Skip to content

Commit

Permalink
Fix private-key for tls (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <[email protected]>
  • Loading branch information
docjyJ committed Aug 30, 2024
1 parent c96295c commit c984b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function auto_config_cert() {
AIO_PUB="/caddy/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.$NC_DOMAIN/mail.$NC_DOMAIN.crt"

sed -e '/^certificate\.caddy-aio\./d'
echo "certificate.caddy-aio.key = \"%{file:$AIO_KEY}%\""
echo "certificate.caddy-aio.private-key = \"%{file:$AIO_KEY}%\""
echo "certificate.caddy-aio.cert = \"%{file:$AIO_PUB}%\""

while [ ! -f "$AIO_KEY" ] || [ ! -f "$AIO_PUB" ]; do
Expand Down

0 comments on commit c984b33

Please sign in to comment.