introduce ngx.var.balancer_ewma_score

This commit is contained in:
Elvin Efendi 2019-07-03 16:34:27 -04:00
parent a653e329aa
commit 27df697dde
2 changed files with 6 additions and 3 deletions

View file

@ -1090,6 +1090,7 @@ stream {
port_in_redirect {{ if $location.UsePortInRedirects }}on{{ else }}off{{ end }};
set $balancer_ewma_score -1;
set $proxy_upstream_name "{{ buildUpstreamName $location }}";
set $proxy_host $proxy_upstream_name;