From d6a39e0bbf6941a1bacb648c08e3dda977b41ee8 Mon Sep 17 00:00:00 2001 From: Tim de Pater Date: Thu, 19 Nov 2026 19:55:09 +0100 Subject: [PATCH] Require nginx >= 1.30.7 for security fixes Fixes CVE-2026-123633 and CVE-2026-123007 (HTTP/2). Fixes #233 --- Dockerfile | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 101855b34..01988c195 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ WORKDIR /var/www/html # Install packages and remove default server definition RUN apk add --no-cache \ curl \ - nginx \ + 'nginx>=1.30.7' \ 'php85>=8.5.12' \ php85-ctype \ php85-curl \ diff --git a/README.md b/README.md index d118f0179..89c42f2ec 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Docker PHP-FPM 8.5 & Nginx 1.28 on Alpine Linux -Example PHP-FPM 8.5 & Nginx 1.28 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/). +# Docker PHP-FPM 8.5 & Nginx 1.30 on Alpine Linux +Example PHP-FPM 8.5 & Nginx 1.30 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/). Repository: https://github.com/TrafeX/docker-php-nginx @@ -15,7 +15,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx * Follows the KISS principle (Keep It Simple, Stupid) to make it easy to understand and adjust the image to your needs [![Docker Pulls](https://img.shields.io/docker/pulls/trafex/php-nginx.svg)](https://hub.docker.com/r/trafex/php-nginx/) -![nginx 1.28](https://img.shields.io/badge/nginx-1.28-brightgreen.svg) +![nginx 1.30](https://img.shields.io/badge/nginx-1.30-brightgreen.svg) ![php 8.5](https://img.shields.io/badge/php-8.5-brightgreen.svg) ![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)