summaryrefslogtreecommitdiff
path: root/plugins/http/config/ssl.go
blob: aae6e920f8d91edac4bafc92221a177463c4e27d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package config

// SSL defines https server configuration.
type SSL struct {
	// Port to listen as HTTPS server, defaults to 443.
	Port int

	// Redirect when enabled forces all http connections to switch to https.
	Redirect bool

	// Key defined private server key.
	Key string

	// Cert is https certificate.
	Cert string

	// Root CA file
	RootCA string
}