Skip to content

Commit

Permalink
Restrict access to the log directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cowwoc committed Nov 9, 2024
1 parent c63234c commit 58f7e04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ run_certbot() {
fi
}

mkdir -p /var/log/letsencrypt
chmod 700 /var/log/letsencrypt

# Run certbot initially
run_certbot

Expand Down

0 comments on commit 58f7e04

Please sign in to comment.