mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
nextcloud-entrypoint: remove custom logic for ldap.conf again as it does not work
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
2ce06a49c7
commit
a83c4e2ed1
1 changed files with 0 additions and 8 deletions
|
|
@ -65,14 +65,6 @@ if env | grep -q NEXTCLOUD_TRUSTED_CERTIFICATES_; then
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Custom logic for ldap conf
|
|
||||||
if ! grep -q "TLS_" /etc/openldap/ldap.conf; then
|
|
||||||
cat << EOL >> /etc/openldap/ldap.conf
|
|
||||||
TLS_CACERT $CERTIFICATE_BUNDLE
|
|
||||||
TLS_REQCERT try
|
|
||||||
EOL
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Backwards compatibility with older instances
|
# Backwards compatibility with older instances
|
||||||
if [ -f "/var/www/html/config/postgres.config.php" ]; then
|
if [ -f "/var/www/html/config/postgres.config.php" ]; then
|
||||||
sed -i "s|/var/www/html/data/certificates/POSTGRES|/var/www/html/data/certificates/ca-bundle.crt|" /var/www/html/config/postgres.config.php
|
sed -i "s|/var/www/html/data/certificates/POSTGRES|/var/www/html/data/certificates/ca-bundle.crt|" /var/www/html/config/postgres.config.php
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue