Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 04:30 UTC
testing: sort force-automated hosts (#6756)
Mohammed Al Sahaf committed
Dec 30, 2024 at 13:38 UTC
f2c17d1f3fc4d9ad6324e05bab0c29aafb23e2e1
1 file changed
+1
caddyconfig/httpcaddyfile/tlsapp.go
+1
@@ -423,6 +423,7 @@ func (st ServerType) buildTLSApp(
423
}
424
al = append(al, name)
425
}
426
+ slices.Sort(al) // to stabilize the adapt output
427
if len(al) > 0 {
428
tlsApp.CertificatesRaw["automate"] = caddyconfig.JSON(al, &warnings)
429
}