mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-22 19:18:01 +02:00
proxy: fix error page (#3020)
* fix error page * proxy: fix error page * share dashboard code * fix test
This commit is contained in:
parent
8f6fddebd1
commit
0898dd4f34
5 changed files with 25 additions and 17 deletions
|
@ -135,6 +135,7 @@ func TestAuthorize_deniedResponse(t *testing.T) {
|
|||
Code: envoy_type_v3.StatusCode(codes.InvalidArgument),
|
||||
},
|
||||
Headers: []*envoy_config_core_v3.HeaderValueOption{
|
||||
mkHeader("Content-Type", "text/html; charset=UTF-8", false),
|
||||
mkHeader("X-Pomerium-Intercepted-Response", "true", false),
|
||||
},
|
||||
Body: "Access Denied",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue