mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-18 10:29:43 +00:00
acme-api -> acme-api-endpoint
This commit is contained in:
parent
97d4ea9d6b
commit
b28204a468
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ var ServeFlags = []cli.Flag{
|
|||
|
||||
// ACME
|
||||
&cli.StringFlag{
|
||||
Name: "acme-api",
|
||||
Name: "acme-api-endpoint",
|
||||
EnvVars: []string{"ACME_API"},
|
||||
Value: "https://acme-v02.api.letsencrypt.org/directory",
|
||||
},
|
||||
|
|
|
@ -42,7 +42,7 @@ func Serve(ctx *cli.Context) error {
|
|||
listeningAddress := fmt.Sprintf("%s:%s", ctx.String("host"), ctx.String("port"))
|
||||
enableHTTPServer := ctx.Bool("enable-http-server")
|
||||
|
||||
acmeAPI := ctx.String("acme-api")
|
||||
acmeAPI := ctx.String("acme-api-endpoint")
|
||||
acmeMail := ctx.String("acme-email")
|
||||
acmeUseRateLimits := ctx.Bool("acme-use-rate-limits")
|
||||
acmeAcceptTerms := ctx.Bool("acme-accept-terms")
|
||||
|
|
Loading…
Reference in a new issue