diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-11 21:24:45 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-11 21:24:45 +0300 |
commit | 3d691bf42432304a3ae6d6465c3f596629891e74 (patch) | |
tree | b37d38ccf1a672a4c862f53b4534e07db5122091 /app_config.go | |
parent | 3824fc8ca34b8f94ae7ef7550aec196dbbfdecf5 (diff) |
Move most of configuration to appConfig
Diffstat (limited to 'app_config.go')
-rw-r--r-- | app_config.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app_config.go b/app_config.go index d007ca39..6c96a59b 100644 --- a/app_config.go +++ b/app_config.go @@ -1,16 +1,16 @@ package main type appConfig struct { - Domain string - RootDir string + Domain string + RootDir string RootCertificate []byte RootKey []byte - ListenHTTP uintptr - ListenHTTPS uintptr - listenProxy uintptr + ListenHTTP uintptr + ListenHTTPS uintptr + listenProxy uintptr - HTTP2 bool - ServeHTTP bool + HTTP2 bool + RedirectHTTP bool } |