mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-27 22:46:37 +00:00
Further config improvements
This commit is contained in:
@@ -38,10 +38,11 @@ server:
|
|||||||
hosts:
|
hosts:
|
||||||
- localhost:3389
|
- localhost:3389
|
||||||
- my-{{ preferred_username }}-host:3389
|
- my-{{ preferred_username }}-host:3389
|
||||||
# Allow the user to connect to any host (insecure)
|
# Allow the user to connect to any host (insecure)
|
||||||
enableOverride: false
|
- any
|
||||||
|
# if true the server randomly selects a host to connect to
|
||||||
# Open ID Connect specific settings (required)
|
roundRobin: false
|
||||||
|
# Open ID Connect specific settings
|
||||||
openId:
|
openId:
|
||||||
providerUrl: http://keycloak/auth/realms/test
|
providerUrl: http://keycloak/auth/realms/test
|
||||||
clientId: rdpgw
|
clientId: rdpgw
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ type ServerConfig struct {
|
|||||||
CertFile string
|
CertFile string
|
||||||
KeyFile string
|
KeyFile string
|
||||||
Hosts []string
|
Hosts []string
|
||||||
EnableOverride bool
|
RoundRobin bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type OpenIDConfig struct {
|
type OpenIDConfig struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user