From a76d87c31c7e0976a9d62eae5697a2f866d38219 Mon Sep 17 00:00:00 2001 From: IRVINGCAI Date: Thu, 6 Aug 2026 11:38:37 +0800 Subject: [PATCH] patch: recognize OpenResty 1.31.1.x Add OpenResty 1.31.1.1 support. Validated end-to-end (see PR description). Co-authored-by: Claude Signed-off-by: IRVINGCAI --- patch.sh | 3 +++ 1 file changed, 3 insertions(+) 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