From 2a2edaa21c3139c267a91d77d7dd1029d7fe4f65 Mon Sep 17 00:00:00 2001
From: Bolke de Bruin <bolke@xs4all.nl>
Date: Wed, 31 Aug 2022 09:50:28 +0200
Subject: [PATCH] Update readme with settings for tls

---
 README.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 2622194..3d718a0 100644
--- a/README.md
+++ b/README.md
@@ -56,9 +56,12 @@ Server:
  # The socket to connect to if using local auth. Ensure rdpgw auth is configured to
  # use the same socket.
  AuthSocket: /tmp/rdpgw-auth.sock
- # disable TLS if termination happens somehwere else (e.g. a load balancer)
+ # The default option 'auto' uses a certificate file if provided and found otherwise
+ # it uses letsencrypt to obtain a certificate, the latter requires that the host is reachable
+ # from letsencrypt servers. If TLS termination happens somewhere else (e.g. a load balancer)
+ # set this option to 'disable'. This is mutually exclusive with 'authentication: local'
  # Note: rdp connections over a gateway require TLS
- DisableTLS: false
+ Tls: auto
  # TLS certificate files
  CertFile: server.pem
  KeyFile: key.pem
-- 
GitLab