Configured LDAP as in instruction https://redash.io/help/open-source/admin-guide/ldap-authentication
But got a 502 error
My config:
REDASH_LDAP_LOGIN_ENABLED: "true"
REDASH_PASSWORD_LOGIN_ENABLED: "false"
REDASH_LDAP_URL: "ip:port"
REDASH_LDAP_BIND_DN: "xxxxxxxxxxxxxxx"
REDASH_LDAP_BIND_DN_PASSWORD: "xxxxxxxxxxxxxxxxx"
REDASH_LDAP_DISPLAY_NAME_KEY: "uid"
REDASH_LDAP_EMAIL_KEY: "uid"
REDASH_LDAP_SEARCH_TEMPLATE: "(uid=%(username)s)"
REDASH_LDAP_SEARCH_DN: "xxxxxxxxxx"

This lines writed indocker-compose.yml in x-redash-environment block.
I restart service by docker-compose up -d command