1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Matthew Holt 32cafbb630
httpcaddyfile: Fix ordering of catch-all site blocks
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.
2020-06-16 10:02:06 -06:00
..
caddyfile caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
httpcaddyfile httpcaddyfile: Fix ordering of catch-all site blocks 2020-06-16 10:02:06 -06:00
configadapters.go caddyconfig: Minor internal and godoc tweaks 2020-05-29 11:49:25 -06:00
load.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00