Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-11 21:24:45 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-11 21:24:45 +0300
commit3d691bf42432304a3ae6d6465c3f596629891e74 (patch)
treeb37d38ccf1a672a4c862f53b4534e07db5122091 /app_config.go
parent3824fc8ca34b8f94ae7ef7550aec196dbbfdecf5 (diff)
Move most of configuration to appConfig
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go14
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
}