Skip to content

[INFRA-324] Upgrade nginx to v1.31.3 - #27

Merged
itskingori merged 3 commits into
masterfrom
infra-324-upgrade-nginx-1.31.3
Jul 28, 2026
Merged

[INFRA-324] Upgrade nginx to v1.31.3#27
itskingori merged 3 commits into
masterfrom
infra-324-upgrade-nginx-1.31.3

Conversation

@itskingori

@itskingori itskingori commented Jul 28, 2026

Copy link
Copy Markdown
Member

Upgrades the image to nginx 1.31.3 on Debian Trixie by moving to the zappi/nginx:1.31.3 base, catching it up to the current mainline release.

Motivation

Keeps the proxy in lockstep with the upgraded zappi/nginx base. The move restores the stream of base OS security fixes that had stopped landing on Bookworm, including the patched OpenSSL for CVE-2025-69419.

Changes

  • Base image (both stages): zappi/nginx:1.27.1zappi/nginx:1.31.3 (Debian 12 → 13).
  • nginx source built in the builder stage: 1.27.1 → 1.31.3, matching the base.
  • headers-more-nginx-module: v0.37 → v0.40.
  • Builder dependencies move from libpcre3/libpcre3-dev to PCRE2 packages, as Trixie no longer ships the legacy PCRE1 packages.
  • nginx.org apt repository (for nginx-module-otel): bookwormtrixie.

Testing

  • Built the image locally against the published zappi/nginx:1.31.3 from Docker Hub.
  • Ran the compose example: proxied requests return HTTP 200 from the backend, the headers-more response headers are present, and requests emit an OTel trace ID (X-Trace-ID header and otel_trace_id log field), confirming both dynamic modules load against nginx 1.31.3.

Related

References

@itskingori itskingori changed the title Upgrade nginx to v1.31.3 [INFRA-324] Upgrade nginx to v1.31.3 Jul 28, 2026
@itskingori itskingori closed this Jul 28, 2026
@itskingori itskingori reopened this Jul 28, 2026
@itskingori
itskingori force-pushed the infra-324-upgrade-nginx-1.31.3 branch from 7f041ff to 1d3d227 Compare July 28, 2026 11:20
Catch the image up to the current nginx mainline release by moving the
base to zappi/nginx:1.31.3 (Debian Trixie) and building the matching
nginx source. The upgrade restores the stream of base OS security
fixes, including the patched OpenSSL for CVE-2025-69419 in libssl.

Trixie no longer ships the legacy libpcre3 packages, so the builder
stage now compiles the headers-more module against PCRE2, and the
module itself moves to v0.40 for compatibility with current nginx.
The nginx.org repository used for nginx-module-otel switches from
bookworm to trixie to match.
@itskingori
itskingori force-pushed the infra-324-upgrade-nginx-1.31.3 branch from 1d3d227 to 61fdad0 Compare July 28, 2026 11:24
@itskingori
itskingori marked this pull request as ready for review July 28, 2026 11:26
@itskingori
itskingori requested a review from a team as a code owner July 28, 2026 11:26
@itskingori
itskingori merged commit 5d90f4e into master Jul 28, 2026
2 checks passed
@itskingori
itskingori deleted the infra-324-upgrade-nginx-1.31.3 branch July 28, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant