make tls optional
This commit is contained in:
parent
de35d43aa7
commit
c9996712de
4 changed files with 46 additions and 40 deletions
|
|
@ -144,7 +144,7 @@ type Config struct {
|
|||
|
||||
type Server struct {
|
||||
Listen string `yaml:"listen"`
|
||||
TLS TLS `yaml:"tls"`
|
||||
TLS *TLS `yaml:"tls"`
|
||||
BasicAuth []BasicAuth `yaml:"basicAuth"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue