From c6aeaeefcf9323356e12561815c0a20967136a51 Mon Sep 17 00:00:00 2001 From: Jay Rogers Date: Wed, 8 Jan 2025 16:44:09 -0600 Subject: [PATCH] Secure the credential file --- src/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 20dca2d..87a157f 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -109,6 +109,7 @@ echo "-----------------------------------------------------------" # Create Cloudflare configuration file echo "dns_cloudflare_api_token = $CLOUDFLARE_API_TOKEN" > /cloudflare.ini +chmod 600 /cloudflare.ini # Run certbot initially to get the certificates run_certbot