Add insecure option
Add option to not _validate_ if the certificate served from headscale is trusted.
This commit is contained in:
parent
4841e16386
commit
0018a78d5a
3 changed files with 28 additions and 9 deletions
7
app.go
7
app.go
|
|
@ -120,9 +120,10 @@ type DERPConfig struct {
|
|||
}
|
||||
|
||||
type CLIConfig struct {
|
||||
Address string
|
||||
APIKey string
|
||||
Timeout time.Duration
|
||||
Address string
|
||||
APIKey string
|
||||
Timeout time.Duration
|
||||
Insecure bool
|
||||
}
|
||||
|
||||
// Headscale represents the base app of the service.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue