Skip to content

Commit

Permalink
Fix nginx patch url (#163)
Browse files Browse the repository at this point in the history
* Update blank.yml

* Fix build on Ubuntu 24.04 LTS

* Fix Ubuntu 24.04 build

* Update nginx versions

* Fix CI

* Fix CI

* Fix CI

* Add tests.sh

* Fix CI

* Fix env bash

* Fix CI

* test CI

* test CI

* Update blank.yml

* Fix CI

* Fix ci

* Fix ci

* Fix ci

* Fix patch url

* Fix patch version
  • Loading branch information
VirtuBox authored Dec 6, 2024
1 parent 69e355a commit 8e3dd90
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 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,11 @@ _patch_nginx() {
echo -ne ' Applying nginx patches [..]\r'

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

}; then
Expand Down Expand Up @@ -818,7 +820,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 8e3dd90

Please sign in to comment.