@@ -14,8 +14,9 @@ func NewDefaultConfiguration() *Config {
1414 Path : "./resources" ,
1515 },
1616 Server : ServerConfig {
17- Port : 3000 ,
18- Address : "0.0.0.0" ,
17+ Port : 3000 ,
18+ Address : "0.0.0.0" ,
19+ ConcurrentListenersEnabled : false ,
1920 },
2021 Auth : AuthConfig {
2122 SubdomainsEnabled : true ,
@@ -95,9 +96,10 @@ type ResourcesConfig struct {
9596}
9697
9798type ServerConfig struct {
98- Port int `description:"The port on which the server listens." yaml:"port"`
99- Address string `description:"The address on which the server listens." yaml:"address"`
100- SocketPath string `description:"The path to the Unix socket." yaml:"socketPath"`
99+ Port int `description:"The port on which the server listens." yaml:"port"`
100+ Address string `description:"The address on which the server listens." yaml:"address"`
101+ SocketPath string `description:"The path to the Unix socket." yaml:"socketPath"`
102+ ConcurrentListenersEnabled bool `description:"Enable listening on both TCP and Unix socket at the same time." yaml:"concurrentListenersEnabled"`
101103}
102104
103105type AuthConfig struct {
@@ -147,10 +149,10 @@ type IPConfig struct {
147149}
148150
149151type OAuthConfig struct {
150- Whitelist []string `description:"Comma-separated list of allowed OAuth domains." yaml:"whitelist"`
151- WhitelistFile string `description:"Path to the OAuth whitelist file." yaml:"whitelistFile"`
152- AutoRedirect string `description:"The OAuth provider to use for automatic redirection." yaml:"autoRedirect"`
153- Providers map [string ]OAuthServiceConfig `description:"OAuth providers configuration." yaml:"providers"`
152+ Whitelist []string `description:"Comma-separated list of allowed OAuth domains." yaml:"whitelist"`
153+ WhitelistFile string `description:"Path to the OAuth whitelist file." yaml:"whitelistFile"`
154+ AutoRedirect string `description:"The OAuth provider to use for automatic redirection." yaml:"autoRedirect"`
155+ Providers map [string ]OAuthServiceConfig `description:"OAuth providers configuration." yaml:"providers"`
154156}
155157
156158type OIDCConfig struct {
0 commit comments