caddy/caddytest/integration/caddyfile_adapt
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
..
auto_https_disable_redirects.txt httpcaddyfile: Add auto_https global option (#3284) 2020-05-19 16:59:51 -06:00
auto_https_off.txt httpcaddyfile: Add auto_https global option (#3284) 2020-05-19 16:59:51 -06:00
global_options.txt caddytls: Add support for ZeroSSL; add Caddyfile support for issuers (#3633) 2020-08-11 08:58:06 -06:00
global_options_acme.txt caddytls: Replace lego with acmez (#3621) 2020-07-30 15:18:14 -06:00
global_options_admin.txt caddytls: Add support for ZeroSSL; add Caddyfile support for issuers (#3633) 2020-08-11 08:58:06 -06:00
handle_path.txt httpcaddyfile: New handle_path directive (#3281) 2020-05-26 15:27:51 -06:00
handle_path_sorting.txt httpcaddyfile: Ensure handle_path is sorted equally to handle (#3676) 2020-09-16 20:01:22 -06:00
http_only_on_any_address.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
http_only_on_domain.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
http_only_on_localhost.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
http_only_on_non_standard_port.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
https_on_domain.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
import_args_file.txt caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
import_args_snippet.txt caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
log_filters.txt logging: Implement Caddyfile support for filter encoder (#3578) 2020-09-15 12:37:41 -06:00
log_roll_days.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
matcher_syntax.txt caddyfile: Add support for vars and vars_regexp matchers (#3730) 2020-09-25 17:50:26 -06:00
matchers_in_route.txt httpcaddyfile: Fix panic when parsing route with matchers (#3746) 2020-09-22 17:37:15 -06:00
not_block_merging.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
php_fastcgi_expanded_form.txt httpcaddyfile: Allow named matchers in route blocks (#3632) 2020-08-05 13:42:29 -06:00
php_fastcgi_index_off.txt fastcgi: php_fastcgi subdirectives to override shortcut behaviour (#3255) 2020-05-18 12:15:38 -06:00
php_fastcgi_matcher.txt fastcgi: Fix php_fastcgi matcher regression (#3512) 2020-06-22 11:45:18 -06:00
php_fastcgi_subdirectives.txt fastcgi: php_fastcgi subdirectives to override shortcut behaviour (#3255) 2020-05-18 12:15:38 -06:00
portless_upstream.txt reverseproxy: default to port 80 for upstreams in Caddyfile (#3772) 2020-10-01 13:53:19 -06:00
reverse_proxy_empty_non_http_transport.txt reverseproxy: Fix Caddyfile parsing for empty non-http transports (#3576) 2020-07-17 13:18:32 -06:00
reverse_proxy_h2c.txt reverseproxy: Add buffer_requests option to reverse_proxy directive (#3710) 2020-09-08 10:37:46 -06:00
shorthand_parameterized_placeholders.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
sort_directives_with_any_matcher_first.txt httpcaddyfile: Improve directive sorting logic (#3658) 2020-08-17 16:15:51 -06:00
tls_automation_policies.txt httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00
tls_client_auth_cert_file.txt httpcaddyfile: Add client_auth options to tls directive (#3335) 2020-06-05 12:19:36 -06:00
tls_client_auth_inline_cert.txt httpcaddyfile: Add client_auth options to tls directive (#3335) 2020-06-05 12:19:36 -06:00