Skip to content

Commit

Permalink
DEV: Update nginx to 1.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX committed Jan 28, 2025
1 parent 79724e9 commit e6118fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/base/install-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

# version check: https://nginx.org/en/download.html
VERSION=1.26.1
VERSION=1.26.2

cd /tmp
wget -q https://nginx.org/download/nginx-$VERSION.tar.gz
Expand All @@ -22,7 +22,7 @@ cd /tmp/ngx_brotli
git submodule update --init

cd /tmp/nginx-$VERSION
# ignoring depracations with -Wno-deprecated-declarations while we wait for this https://github.com/google/ngx_brotli/issues/39#issuecomment-254093378
# ignoring deprecations with -Wno-deprecated-declarations while we wait for this https://github.com/google/ngx_brotli/issues/39#issuecomment-254093378
./configure --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_v2_module --with-http_sub_module --with-stream --with-stream_ssl_module --with-mail --with-mail_ssl_module --with-threads --add-module=/tmp/ngx_brotli

make install
Expand Down

0 comments on commit e6118fa

Please sign in to comment.