From 5bf0adad8748e96e10529d5fc5777afc9236a7b5 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Thu, 2 Dec 2021 15:26:24 -0500 Subject: caddyhttp: Make logging of credential headers opt-in (#4438) --- .../integration/caddyfile_adapt/global_server_options_single.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'caddytest/integration/caddyfile_adapt') diff --git a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt index d81d032..fb0af2c 100644 --- a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt +++ b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt @@ -10,6 +10,7 @@ idle 30s } max_header_size 100MB + log_credentials protocol { allow_h2c experimental_http3 @@ -53,6 +54,9 @@ foo.com { } ], "strict_sni_host": true, + "logs": { + "should_log_credentials": true + }, "experimental_http3": true, "allow_h2c": true } -- cgit v1.2.3