Letsencrypt (#17)

This commit is contained in:
Tobi Smethurst
2021-05-09 11:25:13 +02:00
committed by GitHub
parent 3c539cdfd6
commit 0cbab627c7
6 changed files with 204 additions and 30 deletions

View File

@ -0,0 +1,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
}