caddy/caddyconfig/httpcaddyfile
Matt Holt db4f1c0277
httpcaddyfile: Revise automation policy generation (#3824)
* httpcaddyfile: Revise automation policy generation

This should fix a frustrating edge case where wildcard subjects are
used, which potentially get shadowed by more specific versions of
themselves; see the new tests for an example. This change is motivated
by an actual customer requirement.

Although all the tests pass, this logic is incredibly complex and
nuanced, and I'm worried it is not correct. But it took me about 4 days
to get this far on a solution. I did my best.

* Fix typo
2020-10-28 20:36:00 -06:00
..
addresses.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -06:00
addresses_fuzz.go ci: fuzz: switch engine from libfuzzer to native go-fuzz (#3194) 2020-03-26 18:20:34 -06:00
addresses_test.go httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) 2020-04-14 16:11:46 -06:00
builtins.go map: Reimplement; multiple outputs; optimize 2020-10-02 14:23:56 -06:00
builtins_test.go httpcaddyfile: Be stricter about `log` syntax (#3419) 2020-05-15 15:57:16 -06:00
directives.go httpcaddyfile: Fix panic when parsing route with matchers (#3746) 2020-09-22 17:37:15 -06:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
httptype.go httpcaddyfile: Ensure handle_path is sorted equally to handle (#3676) 2020-09-16 20:01:22 -06:00
httptype_test.go httpcaddyfile: Bring `enforce_origin` and `origins` to admin config (#3595) 2020-08-03 13:44:38 -06:00
options.go caddytls: Add support for ZeroSSL; add Caddyfile support for issuers (#3633) 2020-08-11 08:58:06 -06:00
tlsapp.go httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00
tlsapp_test.go httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00