Skip to content

Commit

Permalink
Merge pull request #3 from stellarpower/patch-1
Browse files Browse the repository at this point in the history
Let's Encrypt File Permissions - archive Directory
  • Loading branch information
vlche authored Nov 17, 2020
2 parents a28ab2a + 902f89f commit b3ae597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

# fix Let's Encrypt's key files permissions
if [ -d /etc/letsencrypt/live ]; then
chmod o+rx /etc/letsencrypt/archive
[ -d /etc/letsencrypt/archive ] && chmod o+rx /etc/letsencrypt/archive
chmod o+rx /etc/letsencrypt/live
chown .nginx /etc/letsencrypt/live/*/privkey.pem
chmod g+r /etc/letsencrypt/live/*/privkey.pem
Expand Down

0 comments on commit b3ae597

Please sign in to comment.