mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: server_name split issue in SAN cert
This commit is contained in:
parent
bf3edfaa44
commit
175d19a206
17 changed files with 534 additions and 534 deletions
2
main.go
2
main.go
|
@ -54,7 +54,7 @@ func prog(state overseer.State) {
|
|||
}
|
||||
|
||||
s := gocron.NewScheduler(time.UTC)
|
||||
job, err := s.Every(1).Hour().SingletonMode().Do(cert.AutoCert)
|
||||
job, err := s.Every(1).Minute().SingletonMode().Do(cert.AutoObtain)
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("AutoCert Job: %v, Err: %v\n", job, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue