Define a TLS section to group TLS, TLSOptions, and TLSStores.
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
parent
c9b2a07bc7
commit
4245096be4
52 changed files with 717 additions and 628 deletions
|
@ -9,8 +9,8 @@ type ClientCA struct {
|
|||
Optional bool
|
||||
}
|
||||
|
||||
// TLS configures TLS for an entry point
|
||||
type TLS struct {
|
||||
// Options configures TLS for an entry point
|
||||
type Options struct {
|
||||
MinVersion string `export:"true"`
|
||||
CipherSuites []string
|
||||
ClientCA ClientCA
|
||||
|
@ -22,8 +22,8 @@ type Store struct {
|
|||
DefaultCertificate *Certificate
|
||||
}
|
||||
|
||||
// Configuration allows mapping a TLS certificate to a list of entry points.
|
||||
type Configuration struct {
|
||||
// CertAndStores allows mapping a TLS certificate to a list of entry points.
|
||||
type CertAndStores struct {
|
||||
Certificate `yaml:",inline"`
|
||||
Stores []string
|
||||
Certificate *Certificate
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue