caddy/caddytest/integration/caddyfile_adapt
Francis Lavoie da7d8cb26d
httpcaddyfile: Sort skip_hosts for deterministic JSON (#5990)
* httpcaddyfile: Sort skip_hosts for deterministic JSON

* Update caddyconfig/httpcaddyfile/httptype.go

Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* Fix test

* Bah

---------

Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2023-12-18 12:54:52 -07:00
..
acme_server_lifetime.txt acme_server: Configurable default lifetime for issued certificates (#5232) 2022-12-06 00:12:26 -07:00
auto_https_disable_redirects.txt httpcaddyfile: Add auto_https global option (#3284) 2020-05-19 16:59:51 -06:00
auto_https_ignore_loaded_certs.txt httpcaddyfile: Add auto_https ignore_loaded_certs (#4077) 2021-05-02 12:11:27 -06:00
auto_https_off.txt httpcaddyfile: Add auto_https global option (#3284) 2020-05-19 16:59:51 -06:00
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
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 encode,staticfiles: Content negotiation, precompressed files (#4045) 2021-03-29 18:47:19 -06:00
file_server_status.txt fileserver: Add status code override (#4076) 2021-04-08 11:09:12 -06:00
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 Fix tests 2023-08-09 11:25:59 -06:00
global_options_acme.txt Fix tests 2023-08-09 11:25:59 -06:00
global_options_admin.txt Fix tests 2023-08-09 11:25:59 -06: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 caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
global_options_log_basic.txt caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
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 caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
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 httpcaddyfile: Configure servers via global options (#3836) 2020-11-23 12:46:50 -07:00
handle_path_sorting.txt httpcaddyfile: Configure servers via global options (#3836) 2020-11-23 12:46:50 -07:00
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 httpcaddyfile: Skip TLS APs for HTTP-only hosts (fix #3977) 2021-01-19 14:16:06 -07: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: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
http_only_on_hostless_block.txt httpcaddyfile: Take into account host scheme/port (fix #4113) 2021-04-16 11:17:22 -06: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 httpcaddyfile: Configure servers via global options (#3836) 2020-11-23 12:46:50 -07:00
import_args_snippet.txt caddyfile: Implement heredoc support (#5385) 2023-02-26 00:34:27 +00:00
import_args_snippet_env_placeholder.txt caddyfile: Fix import replacing unrelated placeholders (#4129) 2021-04-22 18:29:04 -06:00
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_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 caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
method_directive.txt rewrite: Add method Caddyfile directive (#4528) 2022-01-18 12:17:35 -07:00
metrics_disable_om.txt metrics: allow disabling OpenMetrics negotiation (#3944) 2020-12-30 11:44:02 -07:00
metrics_syntax.txt metrics: allow disabling OpenMetrics negotiation (#3944) 2020-12-30 11:44:02 -07: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: 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 fastcgi: Add timeouts support to Caddyfile adapter (#3842) 2020-11-02 15:11:17 -07:00
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 reverseproxy: default to port 80 for upstreams in Caddyfile (#3772) 2020-10-01 13:53:19 -06: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 caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
request_header.txt headers: Fix Caddyfile parsing for request_header with matchers (#4085) 2021-03-29 10:55:29 -06:00
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 caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
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 reverseproxy: Implement health_uri, deprecate health_path, supports query (#4050) 2021-03-29 18:36:40 -06:00
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 reverseproxy: Fix upstreams with placeholders with no port (#4046) 2021-03-03 10:12:31 -07:00
server_names.txt caddyfile: Allow overriding server names (#5323) 2023-01-27 14:56:39 -05:00
shorthand_parameterized_placeholders.txt caddytest: Refactor Caddyfile adapt tests to separate files (#3398) 2020-05-14 17:53:28 -04:00
site_block_sorting.txt httpcaddyfile: Fix catch-all site block sorting 2021-02-22 11:15:11 -07:00
sort_directives_with_any_matcher_first.txt httpcaddyfile: Configure servers via global options (#3836) 2020-11-23 12:46:50 -07:00
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 httpcaddyfile: Adjust iterator when removing AP (fix #3953) 2021-01-04 11:25:41 -07:00
tls_automation_policies_2.txt caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
tls_automation_policies_3.txt httpcaddyfile: Fix automation policies 2021-02-08 11:06:19 -07:00
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 httpcaddyfile: Fix unexpectedly removed policy (#4128) 2021-04-29 10:56:01 -06:00
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.txt caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
tls_client_auth_inline_cert.txt caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
tls_conn_policy_consolidate.txt caddytest: Update Caddyfile tests for formatting, HTTP-only blocks 2021-01-19 14:21:11 -07:00
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