Catch-alls should always go last. Normally this is the case, but we have a special case for comparing one wildcard-host site block to another non-wildcard host site block; and a catch-all site block is also a non-wildcard host site block, so now we have to special-case the catch-all site block. Sigh. This could be reproduced with a Caddyfile that has two site blocks: ":80" and "*.example.com", in that order. |
||
|---|---|---|
| .. | ||
| addresses.go | ||
| addresses_fuzz.go | ||
| addresses_test.go | ||
| builtins.go | ||
| builtins_test.go | ||
| directives.go | ||
| directives_test.go | ||
| httptype.go | ||
| httptype_test.go | ||
| options.go | ||
| tlsapp.go | ||