mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
05df642f3e
Currently if a `log_file_path` is defined Authelia will redirect all logging from standard output to said defined location. This change allows users to keep standard output logging along with a defined `log_file_path`.
29 lines
1.6 KiB
Go
29 lines
1.6 KiB
Go
package schema
|
|
|
|
// Configuration object extracted from YAML configuration file.
|
|
type Configuration struct {
|
|
Host string `mapstructure:"host"`
|
|
Port int `mapstructure:"port"`
|
|
Theme string `mapstructure:"theme"`
|
|
TLSCert string `mapstructure:"tls_cert"`
|
|
TLSKey string `mapstructure:"tls_key"`
|
|
CertificatesDirectory string `mapstructure:"certificates_directory"`
|
|
LogLevel string `mapstructure:"log_level"`
|
|
LogFormat string `mapstructure:"log_format"`
|
|
LogFilePath string `mapstructure:"log_file_path"`
|
|
LogKeepStdout bool `mapstructure:"log_keep_stdout"`
|
|
JWTSecret string `mapstructure:"jwt_secret"`
|
|
DefaultRedirectionURL string `mapstructure:"default_redirection_url"`
|
|
|
|
IdentityProviders IdentityProvidersConfiguration `mapstructure:"identity_providers"`
|
|
AuthenticationBackend AuthenticationBackendConfiguration `mapstructure:"authentication_backend"`
|
|
Session SessionConfiguration `mapstructure:"session"`
|
|
TOTP *TOTPConfiguration `mapstructure:"totp"`
|
|
DuoAPI *DuoAPIConfiguration `mapstructure:"duo_api"`
|
|
AccessControl AccessControlConfiguration `mapstructure:"access_control"`
|
|
Regulation *RegulationConfiguration `mapstructure:"regulation"`
|
|
Storage StorageConfiguration `mapstructure:"storage"`
|
|
Notifier *NotifierConfiguration `mapstructure:"notifier"`
|
|
Server ServerConfiguration `mapstructure:"server"`
|
|
}
|