mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: added the balancer_status_code patch to the nginx core to allow returning arbitrary HTTP status codes inside upstream balancers.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
committed by
Yichun Zhang (agentzh)
parent
b1400169a7
commit
3b74625ad3
@ -55,6 +55,13 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the balancer_status_code patch"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-balancer_status_code.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the builtin_error_page_footer patch"
|
||||
|
Reference in New Issue
Block a user