@marcel91200 / caddy Mirror · read-only / commits / ca14b6ed
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 01:45 UTC

httpcaddyfile: Sort Caddyfile slice

Makes list deterministic. See #5538

Matthew Holt committed May 17, 2023 at 13:50 UTC ca14b6edd95671e7f0731eea91c138cdca760577
1 file changed +1
caddyconfig/httpcaddyfile/directives.go
+1
@@ -173,6 +173,7 @@ func (h Helper) Caddyfiles() []string {
173 for file := range files {
174 filesSlice = append(filesSlice, file)
175 }
176 + sort.Strings(filesSlice)
177 return filesSlice
178 }
179