Skip to content

Commit c9c98f7

Browse files
committed
Fix patch version
1 parent 9e3fcaf commit c9c98f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nginx-build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,11 @@ _patch_nginx() {
713713
echo -ne ' Applying nginx patches [..]\r'
714714

715715
{
716-
curl -sL https://raw.githubusercontent.com/kn007/patch/refs/heads/master/nginx_dynamic_tls_records.patch | patch -p1
716+
if [ "$NGINX_RELEASE" = "2" ]; then
717+
curl -sL https://raw.githubusercontent.com/kn007/patch/e2fcf45e320bb8317042b6796b8f9dd42ffdb25c/nginx_dynamic_tls_records.patch | patch -p1
718+
else
719+
curl -sL https://raw.githubusercontent.com/kn007/patch/refs/heads/master/nginx_dynamic_tls_records.patch | patch -p1
720+
fi
717721
} >>/tmp/nginx-ee.log 2>&1
718722

719723
}; then

0 commit comments

Comments
 (0)