diff options
author | 2021-07-24 18:55:24 +0200 | |
---|---|---|
committer | 2021-07-24 18:55:24 +0200 | |
commit | 318e37735933e14973896b367eae9316723999ce (patch) | |
tree | e73253b5f169750b39740bb17400085507651c29 /internal/config/letsencrypt.go | |
parent | Oidc (#109) (diff) | |
download | gotosocial-318e37735933e14973896b367eae9316723999ce.tar.xz |
allow custom ports for webserver and le
Diffstat (limited to 'internal/config/letsencrypt.go')
-rw-r--r-- | internal/config/letsencrypt.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/config/letsencrypt.go b/internal/config/letsencrypt.go index ae40cb878..a71172635 100644 --- a/internal/config/letsencrypt.go +++ b/internal/config/letsencrypt.go @@ -3,9 +3,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 + Enabled bool `yaml:"enabled"` + // What port should the server listen for letsencrypt challenges on? + Port int `yaml:"port"` // Where should certificates be stored? - CertDir string + CertDir string `yaml:"certDir"` // Email address to pass to letsencrypt for notifications about certificate expiry etc. - EmailAddress string + EmailAddress string `yaml:"emailAddress"` } |