sort auth proxy headers from configmap
This commit is contained in:
parent
73bc2cfc48
commit
d124dd5eee
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,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