diff --git a/README.md b/README.md index 0a1f58e413496f515a87111dab9520de5a1fe8f6..555b06ef139a75eb699b0138c2882542fbc72a69 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 10e0bd9f8643d5e8f1a8a0315f273588292f9b2a..3e9d3c01c1bb05e2e0ba25919f5ca86f7306978a 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 {