Skip to contentSkip to conversation

nginx: upgrade stable 1.28.3 -> 1.30.0

PATCH In review [email protected] 2 participants 6 messages May 2 – May 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 nginx: upgrade stable 1.28.3 -> 1.30.0

From: Tim Orling <[email protected]>

2026-04-14
nginx 1.30.0 is the new annual stable branch, replacing 1.28.x as the recommended branch for production deployments. Per nginx's release model, each new stable line is cut from the prior year's mainline (odd-numbered) branch; 1.30.x therefore carries forward the features and fixes developed in 1.29.x. The 1.28.x branch enters maintenance mode and will receive only critical security fixes from this point.

Inheriting from 1.29.x, the new stable line brings: HTTP Early Hints (status code 103) for proxied responses, HTTP/2 transport to upstream backends, Encrypted ClientHello (ECH) for TLS, sticky session support for upstream groups, Multipath TCP (MPTCP) support, and a default proxy_http_version raised from 1.0 to 1.1 with keep-alive enabled. That last item is a behavioural change worth noting: deployments that were implicitly relying on the prior 1.0 default for upstream connections may see different connection-reuse and trailers behaviour after this upgrade. See the upstream CHANGES file for the complete list of additions, fixes, and behavioural changes between 1.28.x and 1.30.0.

---
 meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb | 7 -------
 meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb | 5 +++++
 2 files changed, 5 insertions(+), 7 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb
meta-webserver/recipes-httpd/nginx/nginx_1.28.3.bb deleted +0 -7
deleted file mode 100644
index 9872a6de3b..0000000000
@@ -1,7 +0,0 @@
-require nginx.inc
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3dc49537b08b14c8b66ad247bb4c4593"
-
-SRC_URI[sha256sum] = "2c96a946bfb0882a21744ed429770a2123ae1828c7c48665092993ddee91a918"
-
-CVE_STATUS[CVE-2025-53859] = "cpe-stable-backport: Fix is included in 1.28.1"
meta-webserver/recipes-httpd/nginx/nginx_1.30.0.bb new file +5 -0
new file mode 100644
index 0000000000..644f391e27
@@ -0,0 +1,5 @@
+require nginx.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
+
+SRC_URI[sha256sum] = "058188c64bf22baecaa72b809a6318a4f9ba623889c554feab03f7cb853ab31b"
Signature · 1 line
2.47.3
#1 lore raw

PATCH 2/3 nginx: log error_log at notice level by default

From: Tim Orling <[email protected]>

When the error_log directive omits a severity (as in our shipped nginx.conf), nginx defaults to 'error' level, which filters out the entire notice-level startup banner: 'using the "epoll" event method', the version line, 'start worker process N', and the corresponding exit/reload events. The result is an nginx that appears completely silent on stdout/stderr in foreground or container deployments — a common confusion for anyone running 'nginx -g "daemon off;"' as a container entrypoint and wondering why no logs appear.

Set the level to 'notice' in the default nginx.conf to surface those events. This matches what upstream Debian and the official nginx Docker image ship for the same reason. The change is essentially free for traditional service deployments: notice-level events are infrequent (master start/stop, config reload, worker recycling) and remain useful diagnostic output rather than noise.

---
 meta-webserver/recipes-httpd/nginx/files/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-webserver/recipes-httpd/nginx/files/nginx.conf +1 -1
index 6d219422b3..afbd79f9ac 100644
@@ -29,7 +29,7 @@ http {
 
     ## Logging
     access_log /var/log/nginx/access.log;
-    error_log /var/log/nginx/error.log;
+    error_log /var/log/nginx/error.log notice;
 
     ## Gzip settings
     gzip  on;
Signature · 1 line
2.47.3
author
#2 lore raw

Re: [meta-webserver][PATCH 2/3] nginx: log error_log at notice level by default

Please hold off on this. It did not clearly fix the container use case and might otherwise be undesired expansion of resource use in embedded targets.

Quoted 41 lines · On Sat, May 2, 2026 at 1:55 PM <[email protected]> wrote:

From: Tim Orling <[email protected]>

When the error_log directive omits a severity (as in our shipped nginx.conf), nginx defaults to 'error' level, which filters out the entire notice-level startup banner: 'using the "epoll" event method', the version line, 'start worker process N', and the corresponding exit/reload events. The result is an nginx that appears completely silent on stdout/stderr in foreground or container deployments — a common confusion for anyone running 'nginx -g "daemon off;"' as a container entrypoint and wondering why no logs appear.

Set the level to 'notice' in the default nginx.conf to surface those events. This matches what upstream Debian and the official nginx Docker image ship for the same reason. The change is essentially free for traditional service deployments: notice-level events are infrequent (master start/stop, config reload, worker recycling) and remain useful diagnostic output rather than noise.

---
 meta-webserver/recipes-httpd/nginx/files/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-webserver/recipes-httpd/nginx/files/nginx.conf +1 -2
index 6d219422b3..afbd79f9ac 100644
@@ -29,7 +29,7 @@ http {
 
     ## Logging
     access_log /var/log/nginx/access.log;
-    error_log /var/log/nginx/error.log;
+    error_log /var/log/nginx/error.log notice;
 
     ## Gzip settings
     gzip  on;
--

2.47.3

#3 lore raw

PATCH 3/3 nginx: upgrade mainline 1.29.7 -> 1.29.8

In reply to [email protected]

From: Tim Orling <[email protected]>

2026-04-07
nginx 1.29.8 is the final release of the 1.29.x mainline branch, published a week before the 1.30.0 stable cut on 2026-04-14. After this point the 1.29.x branch is closed; new development will continue on a future 1.31.x mainline.

Notable changes in 1.29.8:

* New 'max_headers' directive that bounds the number of HTTP headers accepted per request, mitigating header-based DoS exposure.
* OpenSSL 4.0 build compatibility.
* The 'include' directive inside a 'geo' block now accepts wildcard patterns, matching behaviour in other contexts.
* Bug fix: handling of HTTP 103 (Early Hints) responses received from a proxied backend.
* Bug fix: $request_port and $is_request_port are now available in subrequests (previously only in the originating request).

Also refreshes the recipe header comment to reflect 1.30.x being the current stable branch (it had previously identified 1.28.x as stable).

---
 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb | 10 ----------
 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 10 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb
meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb deleted +0 -10
deleted file mode 100644
index 4d884fcbb3..0000000000
@@ -1,10 +0,0 @@
-require nginx.inc
-
-# 1.28.x branch is the current stable branch, the recommended default
-# 1.29.x is the current mainline branches containing all new features
-DEFAULT_PREFERENCE = "-1"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
-
-SRC_URI[sha256sum] = "673f8fb8c0961c44fbd9410d6161831453609b44063d3f2948253fc2b5692139"
-
meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb new file +11 -0
new file mode 100644
index 0000000000..f810ac219d
@@ -0,0 +1,11 @@
+require nginx.inc
+
+# 1.30.x branch is the current stable branch, the recommended default
+# 1.29.x is the most recent mainline branch (final release before the
+# 1.30.x stable cut on 2026-04-14)
+DEFAULT_PREFERENCE = "-1"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
+
+SRC_URI[sha256sum] = "7f1b985dace8fe706dfc288b83927c928f0ae60bcb7507c2d4e0025eca7280c3"
+
Signature · 1 line
2.47.3
#4 lore raw

Re: [oe] [meta-webserver][PATCH 3/3] nginx: upgrade mainline 1.29.7 -> 1.29.8

Quoted 8 lines · Tim Orling via lists.openembedded.org

From: Tim Orling <[email protected]>

2026-04-07
nginx 1.29.8 is the final release of the 1.29.x mainline branch, published a week before the 1.30.0 stable cut on 2026-04-14. After this point the 1.29.x branch is closed; new development will continue on a future 1.31.x mainline.

There isn't any difference between 1.30.0 and 1.29.8 except[1]. Don't see benefit in adding both versions.

There is a discussion already going around this[2], will be good to hear your thoughts.

[1]https://github.com/nginx/nginx/commit/654367cb11b08b0a5a67b08d5e1ff058de8b13c3 [2]https://lists.openembedded.org/g/openembedded-devel/message/126762

cheers
Ankur

Quoted 69 lines

Notable changes in 1.29.8:

* New 'max_headers' directive that bounds the number of HTTP headers accepted per request, mitigating header-based DoS exposure.
* OpenSSL 4.0 build compatibility.
* The 'include' directive inside a 'geo' block now accepts wildcard patterns, matching behaviour in other contexts.
* Bug fix: handling of HTTP 103 (Early Hints) responses received from a proxied backend.
* Bug fix: $request_port and $is_request_port are now available in subrequests (previously only in the originating request).

Also refreshes the recipe header comment to reflect 1.30.x being the current stable branch (it had previously identified 1.28.x as stable).

---
 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb | 10 ----------
 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 10 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb
meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb deleted +0 -10
deleted file mode 100644
index 4d884fcbb3..0000000000
@@ -1,10 +0,0 @@
-require nginx.inc
-
-# 1.28.x branch is the current stable branch, the recommended default
-# 1.29.x is the current mainline branches containing all new features
-DEFAULT_PREFERENCE = "-1"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
-
-SRC_URI[sha256sum] = "673f8fb8c0961c44fbd9410d6161831453609b44063d3f2948253fc2b5692139"
-
meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb new file +11 -1
new file mode 100644
index 0000000000..f810ac219d
@@ -0,0 +1,11 @@
+require nginx.inc
+
+# 1.30.x branch is the current stable branch, the recommended default
+# 1.29.x is the most recent mainline branch (final release before the
+# 1.30.x stable cut on 2026-04-14)
+DEFAULT_PREFERENCE = "-1"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
+
+SRC_URI[sha256sum] = "7f1b985dace8fe706dfc288b83927c928f0ae60bcb7507c2d4e0025eca7280c3"
+
--

2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#126766): https://lists.openembedded.org/g/openembedded-devel/message/126766
Mute This Topic: https://lists.openembedded.org/mt/119120498/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#5 lore raw

Re: [oe] [meta-webserver][PATCH 3/3] nginx: upgrade mainline 1.29.7 -> 1.29.8

Quoted 11 lines · Ankur Tyagi
Quoted 8 lines · Tim Orling via lists.openembedded.org

From: Tim Orling <[email protected]>

2026-04-07
nginx 1.29.8 is the final release of the 1.29.x mainline branch, published a week before the 1.30.0 stable cut on 2026-04-14. After this point the 1.29.x branch is closed; new development will continue on a future 1.31.x mainline.

Quoted 5 lines

There isn't any difference between 1.30.0 and 1.29.8 except[1]. Don't see benefit in adding both versions.

There is a discussion already going around this[2], will be good to hear your thoughts.

Good point. I was just updating to the latest “mainline” according to the website. I’d suggest we wait for 1.31.x to branch and update the “mainline” recipe at that time. We should keep the “stable” 1.30.0 upgrade.

Quoted 85 lines

[1]
https://github.com/nginx/nginx/commit/654367cb11b08b0a5a67b08d5e1ff058de8b13c3
[2]https://lists.openembedded.org/g/openembedded-devel/message/126762

cheers
Ankur

Quoted 17 lines

Notable changes in 1.29.8:

* New 'max_headers' directive that bounds the number of HTTP headers accepted per request, mitigating header-based DoS exposure.
* OpenSSL 4.0 build compatibility.
* The 'include' directive inside a 'geo' block now accepts wildcard patterns, matching behaviour in other contexts.
* Bug fix: handling of HTTP 103 (Early Hints) responses received from a proxied backend.
* Bug fix: $request_port and $is_request_port are now available in subrequests (previously only in the originating request).

Also refreshes the recipe header comment to reflect 1.30.x being the current stable branch (it had previously identified 1.28.x as stable).

Review

Quoted 8 lines
---
 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb | 10 ----------
 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 10 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb
(quoted diff) +0 -0

b/meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb

Quoted 5 lines

deleted file mode 100644
index 4d884fcbb3..0000000000

meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb line 9

Quoted 9 lines
meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb deleted +0 -9
@@ -1,10 +0,0 @@
-require nginx.inc
-
-# 1.28.x branch is the current stable branch, the recommended default
-# 1.29.x is the current mainline branches containing all new features
-DEFAULT_PREFERENCE = "-1"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
-
-SRC_URI[sha256sum] =

"673f8fb8c0961c44fbd9410d6161831453609b44063d3f2948253fc2b5692139"

Review

Quoted 2 lines
meta-webserver/recipes-httpd/nginx/nginx_1.29.7.bb deleted +0 -1
-
(quoted diff) +0 -0

b/meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb

Quoted 5 lines

new file mode 100644
index 0000000000..f810ac219d

meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb line 10

Quoted 10 lines
meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb new file +10 -0
@@ -0,0 +1,11 @@
+require nginx.inc
+
+# 1.30.x branch is the current stable branch, the recommended default
+# 1.29.x is the most recent mainline branch (final release before the
+# 1.30.x stable cut on 2026-04-14)
+DEFAULT_PREFERENCE = "-1"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=79da1c70d587d3a199af9255ad393f99"
+
+SRC_URI[sha256sum] =

"7f1b985dace8fe706dfc288b83927c928f0ae60bcb7507c2d4e0025eca7280c3"

Quoted 8 lines
meta-webserver/recipes-httpd/nginx/nginx_1.29.8.bb new file +1 -1
+
--

2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#126766):

https://lists.openembedded.org/g/openembedded-devel/message/126766

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/119120498/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-