Skip to content

Commit

Permalink
Try and warn about confs looking at /etc for certs
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jan 7, 2025
1 parent 3b98b3a commit d33df22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-outdated-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ if [[ -f /config/nginx/ldap.conf ]]; then
Ensure your configs are updated and remove /config/nginx/ldap.conf
If you do not use this config, simply remove it."
fi
if grep -qrle ' /etc/letsencrypt' /config/nginx; then
echo " The following nginx confs are using certificates from the obsolete location
/etc/letsencrypt and should be updated to point to /config/etc/letsencrypt
"
echo -n " " && grep -rle ' /etc/letsencrypt' /config/nginx
fi

0 comments on commit d33df22

Please sign in to comment.