breaking change: do not trust x-forwarded-* headers by default

This commit is contained in:
Elvin Efendi 2018-11-13 10:31:52 +04:00
parent 023261142c
commit 5f3b48e16d
3 changed files with 3 additions and 2 deletions

View file

@ -45,6 +45,7 @@ var _ = framework.IngressNginxDescribe("Geoip2", func() {
AU 0;
}`
f.UpdateNginxConfigMapData("http-snippet", httpSnippetAllowingOnlyAustralia)
f.UpdateNginxConfigMapData("use-forwarded-headers", "true")
f.WaitForNginxConfiguration(
func(cfg string) bool {