mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
feat: using renewal api to renew certificate #319
This commit is contained in:
parent
e3876cffaf
commit
e16b077d20
11 changed files with 173 additions and 71 deletions
|
@ -18,7 +18,7 @@ func init() {
|
|||
var logrotateJob *gocron.Job
|
||||
|
||||
func InitCronJobs() {
|
||||
job, err := s.Every(30).Minute().SingletonMode().Do(cert.AutoObtain)
|
||||
job, err := s.Every(30).Minute().SingletonMode().Do(cert.AutoCert)
|
||||
|
||||
if err != nil {
|
||||
logger.Fatalf("AutoCert Job: %v, Err: %v\n", job, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue