Merge ef3c56958d7f11d662ffacf84246154208d94fb4 into e7c815c27f21cf81e49eba441ee7c6f5ca533e22

This commit is contained in:
nitschis 2025-04-03 16:34:12 +02:00 committed by GitHub
commit 878cb60b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,9 +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
if grep -qr '/etc/letsencrypt' --include="*.conf" /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
echo -n " " && grep -r '/etc/letsencrypt' --include="*.conf" /config/nginx | grep >
fi