Update base nginx (#7552)
* upgrade alpine * use nginx 1.19.9 and corresponding patches from openresty * include openresty CVE-2021-23017 patch too
This commit is contained in:
parent
4c4013904a
commit
c6bc9870f1
38 changed files with 1681 additions and 59 deletions
23
images/nginx/rootfs/patches/patch.2021.resolver.txt
Normal file
23
images/nginx/rootfs/patches/patch.2021.resolver.txt
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
diff --git src/core/ngx_resolver.c src/core/ngx_resolver.c
|
||||
--- src/core/ngx_resolver.c
|
||||
+++ src/core/ngx_resolver.c
|
||||
@@ -4008,15 +4008,15 @@ done:
|
||||
n = *src++;
|
||||
|
||||
} else {
|
||||
+ if (dst != name->data) {
|
||||
+ *dst++ = '.';
|
||||
+ }
|
||||
+
|
||||
ngx_strlow(dst, src, n);
|
||||
dst += n;
|
||||
src += n;
|
||||
|
||||
n = *src++;
|
||||
-
|
||||
- if (n != 0) {
|
||||
- *dst++ = '.';
|
||||
- }
|
||||
}
|
||||
|
||||
if (n == 0) {
|
||||
Loading…
Add table
Add a link
Reference in a new issue