crossplane: Add test to 'proxy_hide_header' directive
Signed-off-by: Gabriel M. Dutra <me@dutralabs.xyz>
This commit is contained in:
parent
8a88e62732
commit
fd957341d0
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ func TestCrossplaneTemplate(t *testing.T) {
|
|||
}
|
||||
tplConfig.Cfg.DefaultSSLCertificate = defaultCertificate
|
||||
tplConfig.Cfg.EnableBrotli = true
|
||||
tplConfig.Cfg.HideHeaders = []string{"x-fake-header", "x-another-fake-header"}
|
||||
|
||||
tpl := crossplane.NewTemplate()
|
||||
tpl.SetMimeFile(mimeFile.Name())
|
||||
|
|
Loading…
Reference in a new issue