From 55df8df3bc8b00b3fbf1f0facc387e811bf1bc5b Mon Sep 17 00:00:00 2001 From: Bolke de Bruin <bolke@xs4all.nl> Date: Tue, 21 Jul 2020 10:36:25 +0200 Subject: [PATCH] Further config improvements --- README.md | 9 +++++---- config/configuration.go | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0a1f58e..555b06e 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,11 @@ server: hosts: - localhost:3389 - my-{{ preferred_username }}-host:3389 - # Allow the user to connect to any host (insecure) - enableOverride: false - -# Open ID Connect specific settings (required) + # Allow the user to connect to any host (insecure) + - any + # if true the server randomly selects a host to connect to + roundRobin: false +# Open ID Connect specific settings openId: providerUrl: http://keycloak/auth/realms/test clientId: rdpgw diff --git a/config/configuration.go b/config/configuration.go index 10e0bd9..3e9d3c0 100644 --- a/config/configuration.go +++ b/config/configuration.go @@ -17,7 +17,7 @@ type ServerConfig struct { CertFile string KeyFile string Hosts []string - EnableOverride bool + RoundRobin bool } type OpenIDConfig struct { -- GitLab