diff options
| author | Clément Michaud <clement.michaud34@gmail.com> | 2020-03-03 08:18:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-03 18:18:25 +1100 |
| commit | faf43de14f7e8f9d68455d024e34b2ec2886ea41 (patch) | |
| tree | ed3ffb7e3f042dc245aa210a9bf9ff452dd39af7 /internal/configuration/schema/configuration.go | |
| parent | 0c43740a4eeba477794b9805dc141047196d6cf2 (diff) | |
[FEATURE] Add TLS support. (#677)
* [FEATURE] Add TLS support.
Fixes #368.
* [FEATURE] Introduce OnError hook in suites.
This hook allows to perform actions following an erroneous suite
like displaying the logs of Authelia.
* Display Authelia logs of Standalone suite when tests fail.
* Fix Standalone suite.
* Apply suggestions from code review
* Rename ssl_key and ssl_cert into tls_key and tls_cert.
Diffstat (limited to 'internal/configuration/schema/configuration.go')
| -rw-r--r-- | internal/configuration/schema/configuration.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/configuration/schema/configuration.go b/internal/configuration/schema/configuration.go index 23b4ebcc9..d7c518cac 100644 --- a/internal/configuration/schema/configuration.go +++ b/internal/configuration/schema/configuration.go @@ -2,8 +2,11 @@ package schema // Configuration object extracted from YAML configuration file. type Configuration struct { - Host string `mapstructure:"host"` - Port int `mapstructure:"port"` + Host string `mapstructure:"host"` + Port int `mapstructure:"port"` + TLSCert string `mapstructure:"tls_cert"` + TLSKey string `mapstructure:"tls_key"` + LogsLevel string `mapstructure:"logs_level"` // This secret is used by the identity validation process to forge JWT tokens |
