From 98468af8b6224d29431576fe30a7d92a8676030d Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Wed, 22 Jun 2022 15:10:14 -0400 Subject: reverseproxy: Fix double headers in response handlers (#4847) --- .../caddyfile_adapt/forward_auth_authelia.txt | 26 ---------------------- .../forward_auth_rename_headers.txt | 26 ---------------------- 2 files changed, 52 deletions(-) (limited to 'caddytest') diff --git a/caddytest/integration/caddyfile_adapt/forward_auth_authelia.txt b/caddytest/integration/caddyfile_adapt/forward_auth_authelia.txt index e7cbb0f..a057032 100644 --- a/caddytest/integration/caddyfile_adapt/forward_auth_authelia.txt +++ b/caddytest/integration/caddyfile_adapt/forward_auth_authelia.txt @@ -63,32 +63,6 @@ app.example.com { ] } ] - }, - { - "routes": [ - { - "handle": [ - { - "exclude": [ - "Connection", - "Keep-Alive", - "Te", - "Trailers", - "Transfer-Encoding", - "Upgrade" - ], - "handler": "copy_response_headers" - } - ] - }, - { - "handle": [ - { - "handler": "copy_response" - } - ] - } - ] } ], "handler": "reverse_proxy", diff --git a/caddytest/integration/caddyfile_adapt/forward_auth_rename_headers.txt b/caddytest/integration/caddyfile_adapt/forward_auth_rename_headers.txt index bc2d95b..6522817 100644 --- a/caddytest/integration/caddyfile_adapt/forward_auth_rename_headers.txt +++ b/caddytest/integration/caddyfile_adapt/forward_auth_rename_headers.txt @@ -55,32 +55,6 @@ forward_auth localhost:9000 { ] } ] - }, - { - "routes": [ - { - "handle": [ - { - "exclude": [ - "Connection", - "Keep-Alive", - "Te", - "Trailers", - "Transfer-Encoding", - "Upgrade" - ], - "handler": "copy_response_headers" - } - ] - }, - { - "handle": [ - { - "handler": "copy_response" - } - ] - } - ] } ], "handler": "reverse_proxy", -- cgit v1.2.3