summaryrefslogtreecommitdiff
path: root/internal/config/letsencrypt.go
blob: ae40cb8789231e114363a2649aa69b06862911f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
package config

// LetsEncryptConfig wraps everything needed to manage letsencrypt certificates from within gotosocial.
type LetsEncryptConfig struct {
	// Should letsencrypt certificate fetching be enabled?
	Enabled bool
	// Where should certificates be stored?
	CertDir string
	// Email address to pass to letsencrypt for notifications about certificate expiry etc.
	EmailAddress string
}