We also suffered a huge regression from this 1.24.0-2ubuntu7.16 release
where regex captures broke. A simple location block like:
location ~ ^/(images|css|scripts|static)(?:/v-[a-f\d]+)?/(.*)$ {
if ($scheme = "http") {
return 301 https://$host:8443$request_uri;
}
alias /srcdir/release/files/$1/$2;
}
Resulted in 404 failures for all of our static files. This block is using a
regex capture to ignore a cache busting version string in the url path and we
want to just return the file on the filesystem without that version info.
The nginx error log was full of errors like:
2026/08/19 10:24:58 [error] 54255#54255: *1 open()
"/srcdir/release/files//stati//static/v-c4ddc92570/dist/" failed (2: No such
file or directory), client: 127.0.0.1, server: l2lvm-wsl.leading2lean.com,
request: "GET /static/v-c4ddc92570/dist/css/base/login.css HTTP/2.0", host:
"l2lvm-wsl.l2l.com:8443", referrer: "https>
So these regressions are very worrisome as it seems like the buffer management
just for regex capture and building paths is broken as well due to the invalid
file paths being requested on the disk.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164558
Title:
nginx 1.24.0-2ubuntu7.16 regression: "no buffer space in script copy"
with FastCGI/HTTP/2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2164558/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs