diff options
Diffstat (limited to 'internal/config/letsencrypt.go')
-rw-r--r-- | internal/config/letsencrypt.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/config/letsencrypt.go b/internal/config/letsencrypt.go new file mode 100644 index 000000000..ae40cb878 --- /dev/null +++ b/internal/config/letsencrypt.go @@ -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 +} |