caddy/caddytest/integration/caddyfile_adapt
Mohammed Al Sahaf e1aa862e6a
acmeserver: support specifying the allowed challenge types (#5794)
* acmeserver: support specifying the allowed challenge types

* add caddyfile adapt tests

* introduce basic acme_server test

* skip acme test on unsuitable environments

* skip integration tests of ACME

* documentation

* add negative-scenario test for mismatched allowed challenges

* a bit more docs

* fix tests for ACME challenges

* appease the linter

* skip ACME tests on s390x

* enable ACME challenge tests on all machines

* Apply suggestions from code review

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

---------

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2024-02-08 11:42:03 +03:00
..
acme_server_custom_challenges.txt acmeserver: support specifying the allowed challenge types (#5794) 2024-02-08 11:42:03 +03:00
acme_server_default_challenges.txt acmeserver: support specifying the allowed challenge types (#5794) 2024-02-08 11:42:03 +03:00
acme_server_lifetime.txt acme_server: Configurable default lifetime for issued certificates (#5232) 2022-12-06 00:12:26 -07:00
acme_server_multi_custom_challenges.txt acmeserver: support specifying the allowed challenge types (#5794) 2024-02-08 11:42:03 +03:00
auto_https_disable_redirects.txt
auto_https_ignore_loaded_certs.txt
auto_https_off.txt
bind_ipv6.txt httpcaddyfile: Fix incorrect handling of IPv6 bind addresses (#4532) 2022-01-18 11:27:43 -07:00
enable_tls_for_catch_all_site.txt httpcaddyfile: Enable TLS for catch-all site if `tls` directive is specified (#5808) 2023-10-10 21:46:39 +00:00
encode_options.txt encode: Add `application/wasm*` to the default content types (#5869) 2023-10-10 21:18:37 +00:00
error_example.txt httpcaddyfile: Reorder some directives (#4311) 2021-08-26 14:31:55 -06:00
error_multi_site_blocks.txt httpcaddyfile: Add optional status code argument to `handle_errors` directive (#5965) 2024-01-16 01:24:17 -05:00
error_range_codes.txt httpcaddyfile: Add optional status code argument to `handle_errors` directive (#5965) 2024-01-16 01:24:17 -05:00
error_range_simple_codes.txt httpcaddyfile: Add optional status code argument to `handle_errors` directive (#5965) 2024-01-16 01:24:17 -05:00
error_simple_codes.txt httpcaddyfile: Add optional status code argument to `handle_errors` directive (#5965) 2024-01-16 01:24:17 -05:00
error_sort.txt httpcaddyfile: Add optional status code argument to `handle_errors` directive (#5965) 2024-01-16 01:24:17 -05:00
expression_quotes.txt caddyfile: Support for raw token values; improve `map`, `expression` (#4643) 2022-03-18 15:08:23 -06:00
file_server_disable_canonical_uris.txt fileserver: Add `disable_canonical_uris` Caddyfile subdirective (#4222) 2021-07-01 17:22:16 -06:00
file_server_pass_thru.txt chore: Clean up adapt test line endings (#4660) 2022-03-24 22:48:45 -06:00
file_server_precompressed.txt
file_server_status.txt
forward_auth_authelia.txt reverseproxy: Fix double headers in response handlers (#4847) 2022-06-22 15:10:14 -04:00
forward_auth_rename_headers.txt reverseproxy: Fix double headers in response handlers (#4847) 2022-06-22 15:10:14 -04:00
global_options.txt caddytls: Make on-demand 'ask' permission modular (#6055) 2024-01-30 16:11:29 -07:00
global_options_acme.txt caddytls: Make on-demand 'ask' permission modular (#6055) 2024-01-30 16:11:29 -07:00
global_options_admin.txt caddytls: Make on-demand 'ask' permission modular (#6055) 2024-01-30 16:11:29 -07:00
global_options_admin_with_persist_config_off.txt httpcaddyfile: Add persist_config global option (#5339) 2023-01-27 23:31:37 -05:00
global_options_debug_with_access_log.txt httpcaddyfile: Fix duplicate access log when debug is on (#4746) 2022-04-28 12:16:25 -04:00
global_options_default_bind.txt httpcaddyfile: Support multiple values for `default_bind` (#4774) 2022-05-08 21:32:10 -04:00
global_options_log_and_site.txt
global_options_log_basic.txt
global_options_log_custom.txt caddyhttp: Split up logged remote address into IP and port (#4403) 2021-11-29 01:18:35 -05:00
global_options_log_multi.txt
global_options_persist_config.txt httpcaddyfile: Add persist_config global option (#5339) 2023-01-27 23:31:37 -05:00
global_options_preferred_chains.txt httpcaddyfile: Don't put localhost in public APs (fix #4220) 2021-06-25 11:28:32 -06:00
global_options_skip_install_trust.txt acme_server: Configurable default lifetime for issued certificates (#5232) 2022-12-06 00:12:26 -07:00
global_server_options_multi.txt httpcaddyfile: Wrap site block in subroute if host matcher used (#5130) 2022-10-12 09:27:08 -06:00
global_server_options_single.txt caddyhttp: Make use of `http.ResponseController` (#5654) 2023-08-02 20:03:26 +00:00
handle_nested_in_route.txt httpcaddyfile: Fix `handle` grouping inside `route` (#5315) 2023-01-18 16:04:41 -05:00
handle_path.txt
handle_path_sorting.txt
header.txt headers: Allow `>` to defer shortcut for replacements (#5574) 2023-06-15 17:18:55 -06:00
heredoc.txt caddyfile: Fix heredoc fuzz crasher, drop trailing newline (#5404) 2023-02-26 16:56:48 -05:00
http_only_hostnames.txt
http_only_on_any_address.txt
http_only_on_domain.txt
http_only_on_hostless_block.txt
http_only_on_localhost.txt
http_only_on_non_standard_port.txt
https_on_domain.txt
import_args_file.txt
import_args_snippet.txt caddyfile: Implement heredoc support (#5385) 2023-02-26 00:34:27 +00:00
import_args_snippet_env_placeholder.txt
invoke_named_routes.txt caddyhttp: Implement named routes, `invoke` directive (#5107) 2023-05-16 15:27:52 +00:00
log_except_catchall_blocks.txt httpcaddyfile: Remove port from logger names (#5881) 2023-10-16 23:57:03 -06:00
log_filter_no_wrap.txt logging: Automatic `wrap` default for `filter` encoder (#5980) 2024-01-25 04:00:22 +00:00
log_filters.txt logging: add support for hashing data (#4434) 2021-12-02 13:51:37 -07:00
log_override_hostname.txt httpcaddyfile: Remove port from logger names (#5881) 2023-10-16 23:57:03 -06:00
log_override_name_multiaccess.txt httpcaddyfile: Remove port from logger names (#5881) 2023-10-16 23:57:03 -06:00
log_override_name_multiaccess_debug.txt httpcaddyfile: Remove port from logger names (#5881) 2023-10-16 23:57:03 -06:00
log_roll_days.txt logging: Add `roll_local_time` Caddyfile option (#4583) 2022-02-19 15:12:28 -07:00
log_skip_hosts.txt httpcaddyfile: Sort skip_hosts for deterministic JSON (#5990) 2023-12-18 12:54:52 -07:00
map_and_vars_with_raw_types.txt httpcaddyfile: Adjust path matcher sorting to solve for specificity (#5462) 2023-03-27 15:43:44 -04:00
matcher_syntax.txt caddyhttp: Determine real client IP if trusted proxies configured (#5104) 2023-03-27 20:22:59 +00:00
matchers_in_route.txt
method_directive.txt rewrite: Add `method` Caddyfile directive (#4528) 2022-01-18 12:17:35 -07:00
metrics_disable_om.txt
metrics_syntax.txt
not_block_merging.txt
php_fastcgi_expanded_form.txt httpcaddyfile: Fix `handle` grouping inside `route` (#5315) 2023-01-18 16:04:41 -05:00
php_fastcgi_handle_response.txt Fix tests 2022-09-23 16:47:59 -06:00
php_fastcgi_index_off.txt
php_fastcgi_matcher.txt httpcaddyfile: Wrap site block in subroute if host matcher used (#5130) 2022-10-12 09:27:08 -06:00
php_fastcgi_subdirectives.txt Fix tests 2022-09-23 16:47:59 -06:00
php_fastcgi_try_files_override.txt Fix tests 2022-09-23 16:47:59 -06:00
portless_upstream.txt
push.txt caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
replaceable_upstream.txt reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
replaceable_upstream_partial_port.txt reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
replaceable_upstream_port.txt reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
request_body.txt
request_header.txt
reverse_proxy_buffers.txt reverseproxy: fix parsing Caddyfile fails for unlimited request/response buffers (#5828) 2023-10-11 04:42:40 -04:00
reverse_proxy_dynamic_upstreams.txt reverseproxy: allow specifying ip version for dynamic `a` upstream (#5401) 2023-02-27 17:23:09 +00:00
reverse_proxy_empty_non_http_transport.txt
reverse_proxy_h2c_shorthand.txt reverseproxy: Add `unix+h2c` Caddyfile network shortcut (#4953) 2022-08-12 17:09:18 -04:00
reverse_proxy_handle_response.txt reverseproxy: Fix Caddyfile support for `replace_status` (#4754) 2022-05-02 11:44:28 -06:00
reverse_proxy_health_headers.txt reverseproxy: Replace health header placeholders (#5861) 2023-10-11 09:50:28 -06:00
reverse_proxy_health_path_query.txt
reverse_proxy_load_balance.txt reverseproxy: Implement retry count, alternative to try_duration (#4756) 2022-07-13 14:15:00 -06:00
reverse_proxy_load_balance_wrr.txt reverseproxy: weighted_round_robin load balancing policy (#5579) 2023-06-20 11:42:58 -06:00
reverse_proxy_options.txt caddyfile: Implement heredoc support (#5385) 2023-02-26 00:34:27 +00:00
reverse_proxy_port_range.txt reverseproxy: Expand port ranges to multiple upstreams in CLI + Caddyfile (#5494) 2023-05-15 12:14:50 -06:00
reverse_proxy_trusted_proxies.txt chore: Clean up adapt test line endings (#4660) 2022-03-24 22:48:45 -06:00
reverse_proxy_upstream_placeholder.txt
rewrite_directive_permutations.txt httpcaddyfile: Rewrite `root` and `rewrite` parsing to allow omitting matcher (#5844) 2024-01-15 09:57:08 -07:00
root_directive_permutations.txt httpcaddyfile: Rewrite `root` and `rewrite` parsing to allow omitting matcher (#5844) 2024-01-15 09:57:08 -07:00
server_names.txt caddyfile: Allow overriding server names (#5323) 2023-01-27 14:56:39 -05:00
shorthand_parameterized_placeholders.txt
site_block_sorting.txt
sort_directives_with_any_matcher_first.txt
sort_directives_within_handle.txt httpcaddyfile: Adjust path matcher sorting to solve for specificity (#5462) 2023-03-27 15:43:44 -04:00
sort_vars_in_reverse.txt httpcaddyfile: Adjust path matcher sorting to solve for specificity (#5462) 2023-03-27 15:43:44 -04:00
tls_acme_preferred_chains.txt httpcaddyfile: Add `preferred_chains` global option and issuer subdirective (#4192) 2021-06-08 14:10:37 -06:00
tls_automation_policies_1.txt
tls_automation_policies_2.txt
tls_automation_policies_3.txt
tls_automation_policies_4.txt httpcaddyfile: Fix automation policy consolidation again (fix #4161) 2021-05-11 15:26:07 -06:00
tls_automation_policies_5.txt
tls_automation_policies_6.txt httpcaddyfile: Fix automation policy consolidation again (fix #4161) 2021-05-11 15:26:07 -06:00
tls_automation_policies_7.txt httpcaddyfile: Don't add HTTP hosts to TLS APs (fix #4176 and fix #4198) 2021-06-09 14:35:09 -06:00
tls_automation_policies_8.txt httpcaddyfile: Empty tls policy for internal http localhost (#4398) 2021-10-26 13:54:19 -06:00
tls_automation_policies_9.txt httpcaddyfile: Fix #4640 (auto-HTTPS edgecase) (#4661) 2022-03-24 22:54:03 -06:00
tls_automation_policies_10.txt httpcaddyfile: Skip `automate` when `auto_https off` is specified (#5110) 2022-10-04 20:58:19 -06:00
tls_automation_policies_11.txt httpcaddyfile: Fix TLS automation policy merging with get_certificate (#5896) 2023-10-14 14:23:50 -06:00
tls_automation_policies_global_email_localhost.txt httpcaddyfile: Don't put localhost in public APs (fix #4220) 2021-06-25 11:28:32 -06:00
tls_client_auth_cert_file-legacy.txt tls: modularize trusted CA providers (#5784) 2024-01-25 11:44:41 +03:00
tls_client_auth_cert_file.txt tls: modularize trusted CA providers (#5784) 2024-01-25 11:44:41 +03:00
tls_client_auth_inline_cert-legacy.txt tls: modularize trusted CA providers (#5784) 2024-01-25 11:44:41 +03:00
tls_client_auth_inline_cert.txt tls: modularize trusted CA providers (#5784) 2024-01-25 11:44:41 +03:00
tls_client_auth_inline_cert_with_leaf_trust.txt tls: modularize trusted CA providers (#5784) 2024-01-25 11:44:41 +03:00
tls_conn_policy_consolidate.txt
tls_dns_ttl.txt caddytls: Add test cases for Caddyfile `tls` options (#5293) 2023-01-09 15:18:12 -05:00
tls_explicit_issuer_dns_ttl.txt caddytls: Add test cases for Caddyfile `tls` options (#5293) 2023-01-09 15:18:12 -05:00
tls_explicit_issuer_propagation_options.txt caddytls: Add test cases for Caddyfile `tls` options (#5293) 2023-01-09 15:18:12 -05:00
tls_internal_options.txt chore: Clean up adapt test line endings (#4660) 2022-03-24 22:48:45 -06:00
tls_propagation_options.txt caddytls: Add test cases for Caddyfile `tls` options (#5293) 2023-01-09 15:18:12 -05:00
tracing.txt tracing: New OpenTelemetry module (#4361) 2022-03-08 12:18:32 -07:00
uri_replace_brace_escape.txt replacer: Fix escaped closing braces (#5995) 2024-01-13 20:24:03 +00:00