Skip to content

Commit

Permalink
Fix patch url
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtuBox committed Dec 6, 2024
1 parent d813384 commit 9e3fcaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nginx-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,8 @@ fi

if [ "$NGINX_RELEASE" = "2" ]; then
NGINX_VER="$NGINX_STABLE"
NGX_QUIC="--with-http_v3_module"
else
NGINX_VER="$NGINX_MAINLINE"
NGX_QUIC="--with-http_v3_module"
fi

##################################
Expand Down Expand Up @@ -715,7 +713,7 @@ _patch_nginx() {
echo -ne ' Applying nginx patches [..]\r'

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

}; then
Expand Down Expand Up @@ -818,7 +816,7 @@ _configure_nginx() {
$NGX_USER \
--with-file-aio \
--with-threads \
$NGX_QUIC \
--with-http_v3_module \
--with-http_v2_module \
--with-http_ssl_module \
--with-pcre-jit \
Expand Down

0 comments on commit 9e3fcaf

Please sign in to comment.