caddy/caddytest/integration/caddyfile_adapt
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
..
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_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
global_options.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
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_roll_days.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
matcher_syntax.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04: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
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 httpcaddyfile: Add compression to http transport config (#3624) 2020-07-31 11:30:20 -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_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