mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-28 03:53:32 -06:00
Letsencrypt (#17)
This commit is contained in:
parent
3c539cdfd6
commit
0cbab627c7
6 changed files with 204 additions and 30 deletions
|
|
@ -228,6 +228,26 @@ func main() {
|
|||
Value: defaults.StatusesMaxMediaFiles,
|
||||
EnvVars: []string{envNames.StatusesMaxMediaFiles},
|
||||
},
|
||||
|
||||
// LETSENCRYPT FLAGS
|
||||
&cli.BoolFlag{
|
||||
Name: flagNames.LetsEncryptEnabled,
|
||||
Usage: "Enable letsencrypt TLS certs for this server. If set to true, then cert dir also needs to be set (or take the default).",
|
||||
Value: defaults.LetsEncryptEnabled,
|
||||
EnvVars: []string{envNames.LetsEncryptEnabled},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: flagNames.LetsEncryptCertDir,
|
||||
Usage: "Directory to store acquired letsencrypt certificates.",
|
||||
Value: defaults.LetsEncryptCertDir,
|
||||
EnvVars: []string{envNames.LetsEncryptCertDir},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: flagNames.LetsEncryptEmailAddress,
|
||||
Usage: "Email address to use when requesting letsencrypt certs. Will receive updates on cert expiry etc.",
|
||||
Value: defaults.LetsEncryptEmailAddress,
|
||||
EnvVars: []string{envNames.LetsEncryptEmailAddress},
|
||||
},
|
||||
},
|
||||
Commands: []*cli.Command{
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue