mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 09:22:25 -05:00
start working on letsencrypt cert handling
This commit is contained in:
parent
3c539cdfd6
commit
d5c9c50e52
5 changed files with 168 additions and 24 deletions
11
internal/config/letsencrypt.go
Normal file
11
internal/config/letsencrypt.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue