Merge pull request #4596 from Shopify/fix-auth-proxy-header-order
sort auth proxy headers from configmap
This commit is contained in:
commit
14f9b0d64e
1 changed files with 1 additions and 0 deletions
|
@ -472,6 +472,7 @@ func buildAuthProxySetHeaders(headers map[string]string) []string {
|
||||||
for name, value := range headers {
|
for name, value := range headers {
|
||||||
res = append(res, fmt.Sprintf("proxy_set_header '%v' '%v';", name, value))
|
res = append(res, fmt.Sprintf("proxy_set_header '%v' '%v';", name, value))
|
||||||
}
|
}
|
||||||
|
sort.Strings(res)
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue