aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-06-30 22:27:28 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-06-30 22:27:28 +0100
commit6e7dfa0df6b102219817e26095f2ba636cd9288c (patch)
treebb3fa51b68e412bd5e16f579e1ea2987cfb07a87 /server
parente9d53ad6be24fd509fa3c735ad2ff0dfa2203bc8 (diff)
Configurable logfile location
Diffstat (limited to 'server')
-rw-r--r--server/config/config.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/config/config.go b/server/config/config.go
index 0ae1e60..0ef417f 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -10,10 +10,10 @@ import (
// Config holds the server configuration.
type Config struct {
- Server `mapstructure:"server"`
- Auth `mapstructure:"auth"`
- SSH `mapstructure:"ssh"`
- AWS `mapstructure:"aws"`
+ Server Server `mapstructure:"server"`
+ Auth Auth `mapstructure:"auth"`
+ SSH SSH `mapstructure:"ssh"`
+ AWS AWS `mapstructure:"aws"`
}
// unmarshalled holds the raw config.
@@ -31,6 +31,7 @@ type Server struct {
TLSCert string `mapstructure:"tls_cert"`
Port int `mapstructure:"port"`
CookieSecret string `mapstructure:"cookie_secret"`
+ HTTPLogFile string `mapstructure:"http_logfile"`
}
// Auth holds the configuration specific to the OAuth provider.