Skip to content

Commit c6aeaee

Browse files
committed
Secure the credential file
1 parent f013dd3 commit c6aeaee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ echo "-----------------------------------------------------------"
109109

110110
# Create Cloudflare configuration file
111111
echo "dns_cloudflare_api_token = $CLOUDFLARE_API_TOKEN" > /cloudflare.ini
112+
chmod 600 /cloudflare.ini
112113

113114
# Run certbot initially to get the certificates
114115
run_certbot

0 commit comments

Comments
 (0)