caddy/caddyconfig
Francis Lavoie 0afbab8667
httpcaddyfile: Improve directive sorting logic (#3658)
* httpcaddyfile: Flip `root` directive sort order

* httpcaddyfile: Sort directives with any matcher before those with none

* httpcaddyfile: Generalize reverse sort directives, improve logic

* httpcaddyfile: Fix "spelling" issue

* httpcaddyfile: Turns out the second change precludes the first


httpcaddyfile: Delete test that no longer makes sense

* httpcaddyfile: Shorten logic

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-08-17 16:15:51 -06:00
..
caddyfile caddyfile: Export Tokenize function for lexing (#3549) 2020-07-20 13:55:51 -06:00
httpcaddyfile httpcaddyfile: Improve directive sorting logic (#3658) 2020-08-17 16:15:51 -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