make acme account config file changable & print infos about it on start

This commit is contained in:
6543 2023-02-11 01:09:07 +01:00
parent 4320126822
commit c261aed9a9
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862
4 changed files with 15 additions and 5 deletions

View file

@ -148,5 +148,11 @@ var (
Usage: "Use DNS-Challenge for main domain\n\nRead more at: https://go-acme.github.io/lego/dns/",
EnvVars: []string{"DNS_PROVIDER"},
},
&cli.StringFlag{
Name: "acme-account-config",
Usage: "json file of acme account",
Value: "acme-account.json",
EnvVars: []string{"ACME_ACCOUNT_CONFIG"},
},
}...)
)