From 5cd37b9f17669aa3c4a72fa553bd863b9b40410a Mon Sep 17 00:00:00 2001 From: DavidLiu Date: Sat, 23 Jul 2022 15:38:58 +0800 Subject: [PATCH] Change ngx_brotli mirror of Openresty https://www.downsoft.cn/software/linux/nginx/ngx_brotli.tar.gz mirror is no longer available --- openresty/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openresty/Dockerfile b/openresty/Dockerfile index 50198cb..f90803d 100644 --- a/openresty/Dockerfile +++ b/openresty/Dockerfile @@ -58,7 +58,7 @@ ARG RESTY_CONFIG_OPTIONS_MORE="\ --with-http_iconv_module \ --add-module=/tmp/nginx-ct-master \ --add-module=/tmp/nginx-dav-ext-module-master \ - --add-module=/tmp/ngx_brotli \ + --add-module=/tmp/ngx_brotli-master \ --add-module=/tmp/ngx_cache_purge-master \ --add-module=/tmp/ngx_http_substitutions_filter_module-master \ " @@ -166,7 +166,7 @@ RUN apk add --no-cache --virtual .build-deps \ && tar xzf nginx-ct.tar.gz \ && curl -fSL https://github.com/arut/nginx-dav-ext-module/archive/master.tar.gz -o nginx-dav-ext-module.tar.gz \ && tar xzf nginx-dav-ext-module.tar.gz \ - && curl -fSL https://www.downsoft.cn/software/linux/nginx/ngx_brotli.tar.gz -o ngx_brotli.tar.gz \ + && curl -fSL https://github.com/google/ngx_brotli/archive/master.tar.gz -o ngx_brotli.tar.gz \ && tar xzf ngx_brotli.tar.gz \ && curl -fSL https://github.com/yaoweibin/ngx_http_substitutions_filter_module/archive/master.tar.gz -o ngx_http_substitutions_filter_module.tar.gz \ && tar xzf ngx_http_substitutions_filter_module.tar.gz \