mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 21:34:38 +03:00
only check the autotls hostnames once when serving
not twice: for root process and for child process
This commit is contained in:
@ -616,7 +616,7 @@ listed in more DNS block lists, visit:
|
||||
|
||||
// Verify config.
|
||||
skipCheckTLSKeyCerts := existingWebserver
|
||||
mc, errs := mox.ParseConfig(context.Background(), "config/mox.conf", true, skipCheckTLSKeyCerts)
|
||||
mc, errs := mox.ParseConfig(context.Background(), "config/mox.conf", true, skipCheckTLSKeyCerts, false)
|
||||
if len(errs) > 0 {
|
||||
if len(errs) > 1 {
|
||||
log.Printf("checking generated config, multiple errors:")
|
||||
|
Reference in New Issue
Block a user