From c4e980834db86c81d643c14af2d7e5a7c6041279 Mon Sep 17 00:00:00 2001 From: yo Date: Fri, 11 Nov 2022 13:01:33 +0100 Subject: [PATCH] Add TLS/https options --- glapi.env.sample | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/glapi.env.sample b/glapi.env.sample index 786da9d..547eb58 100644 --- a/glapi.env.sample +++ b/glapi.env.sample @@ -1,5 +1,12 @@ LISTEN="0.0.0.0:8081" LDAP_HOST="ldap://ldap.example.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_PASS='here_lies_the_password' + +# Https support +HTTPS=false +SSL_CERTIFICATE=/etc/ssl/certs/server.pem +SSL_PRIVATE_KEY=/etc/ssl/private/server.key