Skip to content

Commit 9e3fcaf

Browse files
committed
Fix patch url
1 parent d813384 commit 9e3fcaf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nginx-build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,8 @@ fi
234234

235235
if [ "$NGINX_RELEASE" = "2" ]; then
236236
NGINX_VER="$NGINX_STABLE"
237-
NGX_QUIC="--with-http_v3_module"
238237
else
239238
NGINX_VER="$NGINX_MAINLINE"
240-
NGX_QUIC="--with-http_v3_module"
241239
fi
242240

243241
##################################
@@ -715,7 +713,7 @@ _patch_nginx() {
715713
echo -ne ' Applying nginx patches [..]\r'
716714

717715
{
718-
curl -sL https://raw.githubusercontent.com/kn007/patch/master/nginx_dynamic_tls_records.patch | patch -p1
716+
curl -sL https://raw.githubusercontent.com/kn007/patch/refs/heads/master/nginx_dynamic_tls_records.patch | patch -p1
719717
} >>/tmp/nginx-ee.log 2>&1
720718

721719
}; then
@@ -818,7 +816,7 @@ _configure_nginx() {
818816
$NGX_USER \
819817
--with-file-aio \
820818
--with-threads \
821-
$NGX_QUIC \
819+
--with-http_v3_module \
822820
--with-http_v2_module \
823821
--with-http_ssl_module \
824822
--with-pcre-jit \

0 commit comments

Comments
 (0)