add example config

add generateLetsEncrypt setting
This commit is contained in:
Jakob Schrettenbrunner
2017-06-19 16:20:58 +02:00
parent 03acc4d5a3
commit f244cda20f
2 changed files with 37 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ type Config struct {
SSL struct {
// Enabled allows to enable or disable ssl
Enabled bool `json:"enabled"`
// GenerateLetsEncrypt
GenerateLetsEncrypt bool `json:"GenerateLetsEncrypt"`
// Certificate is the certificate file path to use
Certificate string `json:"certificate"`
// Key is the path to the private key for the certificate