Add TLS/https options

This commit is contained in:
yo 2022-11-11 13:01:33 +01:00
parent 5e363df9b0
commit c4e980834d

View File

@ -1,5 +1,12 @@
LISTEN="0.0.0.0:8081" LISTEN="0.0.0.0:8081"
LDAP_HOST="ldap://ldap.example.org" LDAP_HOST="ldap://ldap.example.org"
LDAP_BASE_DN="dc=example,dc=org" LDAP_BASE_DN="dc=example,dc=org"
# Credentials used for every op in ldap, so this account needs write access if you want to update ldap
LDAP_USER="cn=ldapuser,dc=example,dc=org" LDAP_USER="cn=ldapuser,dc=example,dc=org"
LDAP_PASS='here_lies_the_password' LDAP_PASS='here_lies_the_password'
# Https support
HTTPS=false
SSL_CERTIFICATE=/etc/ssl/certs/server.pem
SSL_PRIVATE_KEY=/etc/ssl/private/server.key