caddy/caddytest/integration/caddyfile_adapt
SillyZir 1fed032234
caddyhttp: shield specific hostnames from a covering wildcard's client auth (#7920)
* caddyhttp: shield specific hostnames from a covering wildcard's client auth (@sillyzir)

A connection policy for a wildcard hostname (e.g. *.example.com with
client_auth) is first-match by SNI, so it also applied client
authentication to more specific hostnames served by their own site
blocks (public.example.com) — sites that never asked for mTLS.

Two cases produce the shielding empty policy that fixes this:

  - site blocks whose TLS config yields a connection policy with no
    settings (previously discarded as having no effect);
  - site blocks with no TLS connection policy at all — the reported
    case — for which an empty policy is now synthesized.

Either way the empty policy is hoisted directly above the first
client-auth-bearing policy whose wildcard SNI covers the hostname, so
first-match shields it from the client-auth requirement.

Deliberately scoped to client authentication: other wildcard policy
settings, such as certificate selection, are ones a covered hostname
generally WANTS to inherit (see tls_automation_wildcard_shadowing);
sni matchers that fail to decode emit an adapt warning instead of
being silently skipped.

Fixes #7860

* caddyhttp: shield preserves the wildcard policy's other settings (@sillyzir)

The hoisted shield was an empty policy, and connection policies are
first-match: it lifted the client-auth requirement but also suppressed
every other setting the covering wildcard policy carried (certificate
selection, protocol bounds, ALPN). Hoist a copy of the covering policy
with only client_authentication removed instead, so the shielded
hostname keeps inheriting the rest.

The new adapt test gives the wildcard policy protocols and alpn in
addition to client_auth and asserts the shield carries both while
dropping only client authentication; the existing test (client_auth
only) is unchanged, which is exactly why it could not catch this.

* caddyhttp: shield each covering wildcard policy separately (@sillyzir)

The hoisting loop stopped at the first client-auth policy covering any of a
site block's hostnames and gave the shield that block's whole SNI matcher, so
hostnames covered by a *different* wildcard matched it too. Because connection
policies are first-match, those hostnames then took the wrong policy's
settings and lost their own client-authentication requirement entirely.

Map each hostname to the first covering policy individually and hoist one
shield per covering policy, matching only the hostnames it covers. The
existing policies' wildcard SNI names are decoded once up front, and the
shields are inserted back to front so an insertion cannot shift the index of a
covering policy still to be shielded.

* chore: fumpt (@steadytao)
* chore: fix master lint (@steadytao)

---------

Co-authored-by: SillyZir <269283839+SillyZir@users.noreply.github.com>
Co-authored-by: Zen Dodd <mail@steadytao.com>
2026-08-12 15:09:58 +10:00
..
acme_dns_configured.caddyfiletest httpcaddyfile: Add missing DNS challenge check for acme_dns (#7270) 2025-10-03 14:05:46 -06:00
acme_dns_naked_use_dns_defaults.caddyfiletest httpcaddyfile: Fix generated config related to ACME global options 2025-08-04 16:22:25 -06:00
acme_dns_naked_without_dns.caddyfiletest httpcaddyfile: Fix acme_dns regression (#7199) 2025-08-22 15:09:25 -06:00
acme_server_custom_challenges.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
acme_server_default_challenges.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
acme_server_lifetime.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
acme_server_multi_custom_challenges.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
acme_server_policy-allow.caddyfiletest acme_server: fix policy parsing in caddyfile (#7006) 2025-05-08 11:54:07 -06:00
acme_server_policy-both.caddyfiletest acme_server: fix policy parsing in caddyfile (#7006) 2025-05-08 11:54:07 -06:00
acme_server_policy-deny.caddyfiletest acme_server: fix policy parsing in caddyfile (#7006) 2025-05-08 11:54:07 -06:00
acme_server_sign_with_root.caddyfiletest tests: fix caddyfile adapt warnings (#6619) 2024-10-10 13:38:49 -06:00
ambiguous_site_definition.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
ambiguous_site_definition_duplicate_key.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
auto_https_disable_redirects.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
auto_https_ignore_loaded_certs.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
auto_https_off.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
bind_fd_fdgram_h123.caddyfiletest core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
bind_ipv6.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
directive_as_site_address.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
duplicate_listener_address_global.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
duplicate_named_route_challenge.caddyfiletest httpcaddyfile: error on duplicate named_routes (#7800) 2026-06-04 14:55:08 -04:00
enable_tls_for_catch_all_site.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
encode_options.caddyfiletest encode: make zstd checksum configurable (#7586) 2026-03-28 13:07:21 -06:00
error_example.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_multi_site_blocks.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_range_codes.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_range_simple_codes.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_simple_codes.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_sort.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
error_subhandlers.caddyfiletest httpcaddyfile: Prevent error handler from overriding sub-handler matchers (#6999) 2025-06-06 11:46:39 -06:00
expression_quotes.caddyfiletest httpcaddyfile: Fix expression matcher shortcut in snippets (#6288) 2024-05-01 07:43:05 -04:00
file_server_disable_canonical_uris.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
file_server_etag_file_extensions.caddyfiletest fileserver: read etags from precomputed files (#6222) 2024-04-13 06:49:55 -04:00
file_server_file_limit.caddyfiletest fileserver: Add file_limit option for browse (to be experimental) (#6648) 2024-11-05 09:35:32 -07:00
file_server_hide_repeated.caddyfiletest fileserver: append repeated hide subdirectives instead of overwriting (#7817) 2026-06-13 22:44:19 +10:00
file_server_pass_thru.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
file_server_precompressed.caddyfiletest fileserver: add a test for precompressed defaults (#6743) 2024-12-10 16:48:02 -07:00
file_server_sort.caddyfiletest fileserver: browse: Configurable default sort (#6502) 2024-08-30 09:01:37 -06:00
file_server_status.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
forward_auth_authelia.caddyfiletest forward_auth: copy_headers does not strip client-supplied identity headers (Fixes GHSA-7r4p-vjf4-gxv4) (#7545) 2026-03-03 23:30:49 -05:00
forward_auth_copy_headers_strip.caddyfiletest forward_auth: copy_headers does not strip client-supplied identity headers (Fixes GHSA-7r4p-vjf4-gxv4) (#7545) 2026-03-03 23:30:49 -05:00
forward_auth_duplicate_uri.caddyfiletest forwardauth: error on duplicate uri subdirective (#7814) 2026-06-10 23:31:04 -04:00
forward_auth_rename_headers.caddyfiletest forward_auth: copy_headers does not strip client-supplied identity headers (Fixes GHSA-7r4p-vjf4-gxv4) (#7545) 2026-03-03 23:30:49 -05:00
global_options.caddyfiletest caddytls: Allow disabling storage cleaning, avoids writing two files (#6593) 2024-11-05 10:47:41 -07:00
global_options_acme.caddyfiletest caddytls: Drop rate_limit and burst, has been deprecated (#6611) 2024-10-07 17:39:47 -04:00
global_options_admin.caddyfiletest caddytls: Drop rate_limit and burst, has been deprecated (#6611) 2024-10-07 17:39:47 -04:00
global_options_admin_with_persist_config_off.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_debug_with_access_log.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_default_bind.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_log_and_site.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_log_basic.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_log_custom.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_log_multi.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_log_sampling.caddyfiletest httpcaddyfile: accept duration strings for log sampling interval (#7694) 2026-05-07 18:32:20 +00:00
global_options_persist_config.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_options_preferred_chains.caddyfiletest httpcaddyfile: Fix generated config related to ACME global options 2025-08-04 16:22:25 -06:00
global_options_resolvers.caddyfiletest tls: Add tls_resolvers global option for DNS challenge configuration (#7297) 2026-03-01 15:32:04 -05:00
global_options_resolvers_http_challenge.caddyfiletest tls: Add tls_resolvers global option for DNS challenge configuration (#7297) 2026-03-01 15:32:04 -05:00
global_options_resolvers_local_dns_inherit.caddyfiletest tls: Add tls_resolvers global option for DNS challenge configuration (#7297) 2026-03-01 15:32:04 -05:00
global_options_resolvers_local_override.caddyfiletest tls: Add tls_resolvers global option for DNS challenge configuration (#7297) 2026-03-01 15:32:04 -05:00
global_options_resolvers_mixed.caddyfiletest tls: Add tls_resolvers global option for DNS challenge configuration (#7297) 2026-03-01 15:32:04 -05:00
global_options_skip_install_trust.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_server_options_multi.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
global_server_options_single.caddyfiletest caddyhttp: Option to disable 0-RTT (#7485) 2026-02-16 10:20:47 -07:00
handle_nested_in_route.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
handle_path.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
handle_path_sorting.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
header.caddyfiletest header: match subdirective for response matching (#6765) 2025-01-07 22:48:06 -07:00
header_placeholder_search.caddyfiletest headers: Support placeholders in replacement search patterns (#7117) 2025-07-14 14:55:00 -06:00
heredoc.caddyfiletest tests: fix caddyfile adapt warnings (#6619) 2024-10-10 13:38:49 -06:00
heredoc_extra_indentation.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
heredoc_incomplete.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
heredoc_invalid_marker.caddyfiletest chore: clean up wording and typo fixes (#7745) 2026-05-20 16:36:30 +10:00
heredoc_mismatched_whitespace.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
heredoc_missing_marker.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
heredoc_too_many_angle_brackets.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
http_only_hostnames.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_only_on_any_address.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_only_on_domain.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_only_on_hostless_block.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_only_on_localhost.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_only_on_non_standard_port.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
http_valid_directive_like_site_address.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
https_on_domain.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
import_args_file.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
import_args_snippet.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
import_args_snippet_env_placeholder.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
import_block_anonymous.caddyfiletest caddyfile: Fix importing nested tokens for {block} (#7189) 2025-08-22 21:29:34 +00:00
import_block_snippet.caddyfiletest caddyfile: Pass blocks to import for snippets (#6130) 2024-06-14 11:27:51 -06:00
import_block_snippet_args.caddyfiletest caddyfile: Pass blocks to import for snippets (#6130) 2024-06-14 11:27:51 -06:00
import_block_snippet_invalid_subdirective.caddyfiletest fix(caddyfile): {block} in snippet (#7558) 2026-04-15 02:58:53 -04:00
import_block_snippet_non_replaced_block.caddyfiletest caddyfile: Allow block to do nothing if nothing passed to import (#7206) 2025-09-12 20:29:09 +00:00
import_block_snippet_non_replaced_block_from_separate_file.caddyfiletest fix(caddyfile): Prevent parser to panic when no token were added by empty {block} (#7543) 2026-03-03 13:16:21 -05:00
import_block_snippet_non_replaced_key_block.caddyfiletest caddyfile: Allow block to do nothing if nothing passed to import (#7206) 2025-09-12 20:29:09 +00:00
import_block_with_site_block.caddyfiletest caddyfile: Fix importing nested tokens for {block} (#7189) 2025-08-22 21:29:34 +00:00
import_blocks_snippet.caddyfiletest caddyfile: Pass blocks to import for snippets (#6130) 2024-06-14 11:27:51 -06:00
import_blocks_snippet_nested.caddyfiletest caddyfile: Pass blocks to import for snippets (#6130) 2024-06-14 11:27:51 -06:00
import_cycle.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
intercept_handle_response_too_many_args.caddyfiletest intercept: fix misleading handle_response error for extra matcher args (#7871) 2026-07-12 09:16:34 +10:00
intercept_response.caddyfiletest caddyhttp: New experimental handler for intercepting responses (#6232) 2024-05-13 17:38:18 +00:00
invoke_named_routes.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
invoke_nested_named_routes.caddyfiletest caddyconfig: Register nested named-route invokes transitively (#7898) 2026-07-30 10:55:49 +00:00
invoke_nested_undefined_named_route.caddyfiletest caddyconfig: Register nested named-route invokes transitively (#7898) 2026-07-30 10:55:49 +00:00
invoke_undefined_named_route.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
log_add.caddyfiletest logging: Implement log_append handler (#6066) 2024-03-05 17:03:59 -07:00
log_append_encoder.caddyfiletest logging: Implement append encoder, allow flatter filters config (#6069) 2024-03-05 16:24:32 -07:00
log_except_catchall_blocks.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
log_filter_no_wrap.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
log_filter_with_header.txt logging: Add support for additional logger filters other than hostname (#6082) 2024-05-11 13:31:44 +00:00
log_filters.caddyfiletest logging: Implement append encoder, allow flatter filters config (#6069) 2024-03-05 16:24:32 -07:00
log_journald_encoder.caddyfiletest logging: add journald encoder wrapper (#7623) 2026-04-10 17:09:12 -06:00
log_multi_logger_name.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
log_multiple_regexp_filters.caddyfiletest logging: fix multiple regexp filters on same field (fixes #7049) (#7061) 2025-10-16 05:08:53 +00:00
log_override_hostname.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
log_override_name_multiaccess.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
log_override_name_multiaccess_debug.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
log_roll_days.caddyfiletest logging: Support zstd roll compression (#7515) 2026-02-23 16:04:45 -07:00
log_sampling.caddyfiletest httpcaddyfile: accept duration strings for log sampling interval (#7694) 2026-05-07 18:32:20 +00:00
log_skip_hosts.caddyfiletest caddyhttp: Support multiple logger names per host (#6088) 2024-04-16 22:26:18 +00:00
map_and_vars_with_raw_types.caddyfiletest tests: fix caddyfile adapt warnings (#6619) 2024-10-10 13:38:49 -06:00
matcher_outside_site_block.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
matcher_syntax.caddyfiletest caddyhttp: Fix merging consecutive client_ip or remote_ip matchers (#6350) 2024-05-30 07:32:17 -06:00
matcher_url_pattern.caddyfiletest caddyhttp: add URL pattern request matcher (#7787) 2026-06-22 10:25:43 -06:00
matchers_in_route.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
method_directive.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
metrics_disable_om.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
metrics_merge_options.caddyfiletest metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
metrics_otlp.caddyfiletest metrics: Implement pushing via OLTP (#7664) 2026-04-25 06:52:08 -04:00
metrics_perhost.caddyfiletest metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
metrics_syntax.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
not_block_merging.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
php_fastcgi_expanded_form.caddyfiletest caddyhttp: Add {?query} placeholder (#6714) 2024-12-02 08:06:38 -05:00
php_fastcgi_handle_response.caddyfiletest fileserver: Add first_exist_fallback strategy for try_files (#6699) 2024-12-03 05:44:49 -07:00
php_fastcgi_index_off.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
php_fastcgi_matcher.caddyfiletest fileserver: Add first_exist_fallback strategy for try_files (#6699) 2024-12-03 05:44:49 -07:00
php_fastcgi_subdirectives.caddyfiletest fileserver: Add first_exist_fallback strategy for try_files (#6699) 2024-12-03 05:44:49 -07:00
php_fastcgi_try_files_override.caddyfiletest caddyhttp: Add {?query} placeholder (#6714) 2024-12-02 08:06:38 -05:00
php_fastcgi_try_files_override_no_dir_index.caddyfiletest fileserver: Add first_exist_fallback strategy for try_files (#6699) 2024-12-03 05:44:49 -07:00
portless_upstream.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
push.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
quoted_brace_args.caddyfiletest caddyfile: treat quoted braces as literal arguments (#7875) 2026-07-12 10:33:32 +10:00
renewal_window_ratio_global.caddyfiletest caddyfile: Add renewal_window_ratio global option and tls subdirective (#7473) 2026-02-13 16:47:02 -05:00
renewal_window_ratio_tls_directive.caddyfiletest caddyfile: Add renewal_window_ratio global option and tls subdirective (#7473) 2026-02-13 16:47:02 -05:00
replaceable_upstream.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
replaceable_upstream_partial_port.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
replaceable_upstream_port.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
request_body.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
request_header.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_buffers.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_dynamic_upstreams.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_dynamic_upstreams_grace_period.caddyfiletest reverse_proxy: Add grace_period for SRV upstreams to Caddyfile (#6264) 2024-04-23 07:12:57 -06:00
reverse_proxy_empty_non_http_transport.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_h2c_shorthand.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_handle_response.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_handle_response_too_many_args.caddyfiletest reverseproxy: fix misleading handle_response error for extra matcher args (#7869) 2026-07-10 05:40:23 +00:00
reverse_proxy_health_headers.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_health_method.caddyfiletest reverseproxy: Caddyfile support for health_method (#6454) 2024-07-12 17:01:58 -04:00
reverse_proxy_health_path_query.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_health_reqbody.caddyfiletest reverseproxy: Active health checks request body option (#6520) 2024-08-19 10:55:55 -06:00
reverse_proxy_http_transport_forward_proxy_url.txt core: add modular network_proxy support (#6399) 2025-03-21 17:06:15 +00:00
reverse_proxy_http_transport_none_proxy.txt core: add modular network_proxy support (#6399) 2025-03-21 17:06:15 +00:00
reverse_proxy_http_transport_tls_file_cert.txt reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
reverse_proxy_http_transport_tls_inline_cert.txt reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
reverse_proxy_http_transport_url_proxy.txt core: add modular network_proxy support (#6399) 2025-03-21 17:06:15 +00:00
reverse_proxy_load_balance.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_load_balance_wrr.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_localaddr.caddyfiletest reverseproxy: allow user to define source address (#6504) 2024-08-22 19:52:05 +00:00
reverse_proxy_options.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_port_range.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_retry_match_oneline.caddyfiletest reverseproxy: add lb_retry_match condition on response status (#7569) 2026-04-21 14:59:31 -04:00
reverse_proxy_retry_match_response.caddyfiletest reverseproxy: add lb_retry_match condition on response status (#7569) 2026-04-21 14:59:31 -04:00
reverse_proxy_stream_buffer_size.caddyfiletest reverseproxy: make stream copy buffer size configurable (#7627) 2026-04-10 14:49:32 -06:00
reverse_proxy_trusted_proxies.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
reverse_proxy_trusted_proxies_unix.caddyfiletest caddyhttp: Add trusted_proxies_unix for trusting unix socket X-Forwarded-* headers (#7265) 2025-10-16 02:47:32 +00:00
reverse_proxy_upstream_placeholder.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
rewrite_directive_permutations.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
root_directive_permutations.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
server_names.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
shorthand_parameterized_placeholders.caddyfiletest caddyfile: Populate regexp matcher names by default (#6145) 2024-04-17 12:19:14 -06:00
site_address_invalid_port.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
site_address_negative_port.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
site_address_unsupported_scheme.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
site_address_wss_invalid_port.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
site_address_wss_scheme.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
site_block_sorting.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
sort_directives_with_any_matcher_first.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
sort_directives_within_handle.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
sort_vars_in_reverse.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_acme_dns_override_global_dns.caddyfiletest httpcaddyfile: Override global dns with acme_dns (fix #7294) (#7458) 2026-02-15 09:04:59 +00:00
tls_acme_preferred_chains.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_1.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_2.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_3.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_automation_policies_4.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_automation_policies_5.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_6.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_7.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_8.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_automation_policies_9.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_10.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_automation_policies_11.caddyfiletest caddytls: Consolidate empty APs more smartly (#7567) 2026-03-26 14:41:34 -06:00
tls_automation_policies_12.caddyfiletest caddytls: Consolidate empty APs more smartly (#7567) 2026-03-26 14:41:34 -06:00
tls_automation_policies_global_email_localhost.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_automation_wildcard_force_automate.caddyfiletest caddytls: Prefer managed wildcard certs over individual subdomain certs (#6959) 2025-04-18 11:44:23 -06:00
tls_automation_wildcard_shadowing.caddyfiletest httpcaddyfile: Implement experimental force_automate option (#6712) 2024-12-24 08:58:40 -07:00
tls_client_auth_cert_file-legacy-with-verifier.caddyfiletest caddytls: verifier: caddyfile: re-add Caddyfile support (#6127) 2024-02-26 00:13:48 +03:00
tls_client_auth_cert_file-legacy.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_client_auth_cert_file.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_client_auth_combined_trust_pool.caddyfiletest tls: add system and combined CA pool modules (#7406) 2026-04-06 01:13:34 +03:00
tls_client_auth_combined_trust_pool_pki.caddyfiletest tls: add system and combined CA pool modules (#7406) 2026-04-06 01:13:34 +03:00
tls_client_auth_inline_cert-legacy.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_client_auth_inline_cert.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_client_auth_inline_cert_with_leaf_trust.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_client_auth_leaf_verifier_file_loader_block.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_leaf_verifier_file_loader_inline.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_leaf_verifier_file_loader_multi-in-block.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_leaf_verifier_folder_loader_block.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_leaf_verifier_folder_loader_inline.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_leaf_verifier_folder_loader_multi-in-block.caddyfiletest caddytls: wire up client_auth leaf verifier Caddyfile (#6772) 2025-06-09 08:18:36 -06:00
tls_client_auth_system_trust_pool.caddyfiletest tls: add system and combined CA pool modules (#7406) 2026-04-06 01:13:34 +03:00
tls_client_auth_wildcard_not_inherited_by_specific_host.caddyfiletest caddyhttp: shield specific hostnames from a covering wildcard's client auth (#7920) 2026-08-12 15:09:58 +10:00
tls_client_auth_wildcard_shield_preserves_other_settings.caddyfiletest caddyhttp: shield specific hostnames from a covering wildcard's client auth (#7920) 2026-08-12 15:09:58 +10:00
tls_client_auth_wildcards_shield_each_covering_policy.caddyfiletest caddyhttp: shield specific hostnames from a covering wildcard's client auth (#7920) 2026-08-12 15:09:58 +10:00
tls_conn_policy_consolidate.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_dns_multiple_options_without_provider.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
tls_dns_override_acme_dns.caddyfiletest httpcaddyfile: Add missing DNS challenge check for acme_dns (#7270) 2025-10-03 14:05:46 -06:00
tls_dns_override_global_dns.caddyfiletest httpcaddyfile: Add missing DNS challenge check for acme_dns (#7270) 2025-10-03 14:05:46 -06:00
tls_dns_propagation_timeout_without_provider.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
tls_dns_propagation_without_provider.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
tls_dns_resolvers_with_global_provider.caddyfiletest httpcaddyfile: Add missing DNS challenge check for acme_dns (#7270) 2025-10-03 14:05:46 -06:00
tls_dns_ttl.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
tls_explicit_issuer_dns_ttl.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_explicit_issuer_propagation_options.caddyfiletest caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
tls_internal_options.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
tls_propagation_options.caddyfiletest httpcaddyfile: Validates TLS DNS challenge options (#7099) 2025-06-30 23:58:16 +00:00
tracing.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
uri_query_operations.caddyfiletest rewrite: uri query replace operation (#6165) 2024-03-22 02:23:42 +00:00
uri_replace_brace_escape.caddyfiletest caddytest: Rename adapt tests to *.caddyfiletest extension (#6119) 2024-02-21 00:37:40 +00:00
wildcard_pattern.caddyfiletest caddyhttp: Implement auto_https prefer_wildcard option (#6146) 2024-10-02 07:31:58 -06:00