Allow host query parameter

the host query parameter can now be used
dependent on the `hostselection` config.
This commit is contained in:
Bolke de Bruin
2022-08-17 10:48:14 +02:00
parent 45a57f44ff
commit 8bc3e25f83
5 changed files with 142 additions and 31 deletions

View File

@@ -59,10 +59,13 @@ Server:
Hosts:
- localhost:3389
- my-{{ preferred_username }}-host:3389
# Allow the user to connect to any host (insecure)
- any
# if true the server randomly selects a host to connect to
RoundRobin: false
# valid options are:
# - roundrobin, which selects a random host from the list (default)
# - signed, a listed host specified in the signed query parameter
# - unsigned, a listed host specified in the query parameter
# - any, insecurely allow any host specified in the query parameter
HostSelection: roundrobin
# a random strings of at least 32 characters to secure cookies on the client
# make sure to share this across the different pods
SessionKey: thisisasessionkeyreplacethisjetzt