diff --git a/patch.sh b/patch.sh index 126e2a1..da5e709 100755 --- a/patch.sh +++ b/patch.sh @@ -39,6 +39,9 @@ elif [[ "$1" == *openresty-1.27.1.* ]]; then elif [[ "$1" == *openresty-1.29.2.* ]]; then patch="$script_dir/nginx-1.29.2.patch" dir="$1/bundle/nginx-1.29.2" +elif [[ "$1" == *openresty-1.31.1.* ]]; then + patch="$script_dir/nginx-1.29.2.patch" + dir="$1/bundle/nginx-1.31.1" else err "can't detect OpenResty version" exit 1