File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 30
30
KeyFile string `yaml:"key_file"`
31
31
Auto bool `yaml:"auto"`
32
32
CacheDir string `yaml:"cache_dir"`
33
+ Email string `yaml:"email"`
33
34
}
34
35
35
36
Host struct {
Original file line number Diff line number Diff line change 25
25
26
26
func Init (a * armor.Armor ) (h * HTTP ) {
27
27
e := echo .New ()
28
+ // To get some info, when cert expire for example
29
+ e .AutoTLSManager .Email = a .TLS .Email
30
+
28
31
a .Echo = e
29
32
h = & HTTP {
30
33
armor : a ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Name | Type | Description
27
27
` key_file ` | string | Key file
28
28
` auto ` | bool | Enable automatic certificates from https://letsencrypt.org
29
29
` cache_dir ` | string | Cache directory to store certificates from https://letsencrypt.org . Default value ` ~/.armor/cache ` .
30
+ ` email ` | string | Email optionally specifies a contact email address.
30
31
31
32
` hosts `
32
33
@@ -111,4 +112,4 @@ hosts:
111
112
- name : proxy
112
113
targets :
113
114
- url : http://forum
114
- ` ` `
115
+ ` ` `
You can’t perform that action at this time.
0 commit comments