Browse Source

build: bump library/nginx from 1.29.2 to 1.29.3 (#2668)

* build: bump library/nginx from 1.29.2 to 1.29.3

* test: fix connect method tests

* docs: update nginx badge

* test: use nginx 1.29.3 for certificate creation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Duchon <nicolas.duchon@gmail.com>
dependabot[bot] 1 week ago
parent
commit
2e0231473b

+ 1 - 1
Dockerfile.alpine

@@ -4,7 +4,7 @@ FROM docker.io/nginxproxy/docker-gen:0.16.0 AS docker-gen
 FROM docker.io/nginxproxy/forego:0.18.4 AS forego
 
 # Build the final image
-FROM docker.io/library/nginx:1.29.2-alpine
+FROM docker.io/library/nginx:1.29.3-alpine
 
 ARG NGINX_PROXY_VERSION
 # Add DOCKER_GEN_VERSION environment variable because 

+ 1 - 1
Dockerfile.debian

@@ -4,7 +4,7 @@ FROM docker.io/nginxproxy/docker-gen:0.16.0-debian AS docker-gen
 FROM docker.io/nginxproxy/forego:0.18.4-debian AS forego
 
 # Build the final image
-FROM docker.io/library/nginx:1.29.2
+FROM docker.io/library/nginx:1.29.3
 
 ARG NGINX_PROXY_VERSION
 # Add DOCKER_GEN_VERSION environment variable because 

+ 1 - 1
README.md

@@ -1,6 +1,6 @@
 [![Test](https://github.com/nginx-proxy/nginx-proxy/actions/workflows/test.yml/badge.svg)](https://github.com/nginx-proxy/nginx-proxy/actions/workflows/test.yml)
 [![GitHub release](https://img.shields.io/github/v/release/nginx-proxy/nginx-proxy)](https://github.com/nginx-proxy/nginx-proxy/releases)
-[![nginx 1.29.2](https://img.shields.io/badge/nginx-1.29.2-brightgreen.svg?logo=nginx)](https://nginx.org/en/CHANGES)
+[![nginx 1.29.3](https://img.shields.io/badge/nginx-1.29.3-brightgreen.svg?logo=nginx)](https://nginx.org/en/CHANGES)
 [![Docker Image Size](https://img.shields.io/docker/image-size/nginxproxy/nginx-proxy?sort=semver)](https://hub.docker.com/r/nginxproxy/nginx-proxy "Click to view the image on Docker Hub")
 [![Docker stars](https://img.shields.io/docker/stars/nginxproxy/nginx-proxy.svg)](https://hub.docker.com/r/nginxproxy/nginx-proxy "DockerHub")
 [![Docker pulls](https://img.shields.io/docker/pulls/nginxproxy/nginx-proxy.svg)](https://hub.docker.com/r/nginxproxy/nginx-proxy "DockerHub")

+ 1 - 1
test/certs/create_server_certificate.sh

@@ -24,7 +24,7 @@ fi
 # Create a nginx container (which conveniently provides the `openssl` command)
 ###############################################################################
 
-CONTAINER=$(docker run -d -v $DIR:/work -w /work -e SAN="$ALTERNATE_DOMAINS" nginx:1.29.2)
+CONTAINER=$(docker run -d -v $DIR:/work -w /work -e SAN="$ALTERNATE_DOMAINS" nginx:1.29.3)
 # Configure openssl
 docker exec $CONTAINER bash -c '
 	mkdir -p /ca/{certs,crl,private,newcerts} 2>/dev/null

+ 2 - 2
test/test_ssl/test_redirect_custom.py

@@ -9,7 +9,7 @@ import pytest
     ("nginx-proxy.tld", "PATCH", 308),
     ("nginx-proxy.tld", "DELETE", 308),
     ("nginx-proxy.tld", "OPTIONS", 308),
-    ("nginx-proxy.tld", "CONNECT", 405),
+    ("nginx-proxy.tld", "CONNECT", 400),
     ("nginx-proxy.tld", "TRACE", 405),
     ("web2.nginx-proxy.tld", "GET", 301),
     ("web2.nginx-proxy.tld", "HEAD", 301),
@@ -18,7 +18,7 @@ import pytest
     ("web2.nginx-proxy.tld", "PATCH", 307),
     ("web2.nginx-proxy.tld", "DELETE", 307),
     ("web2.nginx-proxy.tld", "OPTIONS", 307),
-    ("web2.nginx-proxy.tld", "CONNECT", 405),
+    ("web2.nginx-proxy.tld", "CONNECT", 400),
     ("web2.nginx-proxy.tld", "TRACE", 405),
 ])
 def test_custom_redirect_by_method(

+ 1 - 1
test/test_ssl/test_redirect_default.py

@@ -9,7 +9,7 @@ import pytest
     ("PATCH", 301),
     ("DELETE", 301),
     ("OPTIONS", 301),
-    ("CONNECT", 405),
+    ("CONNECT", 400),
     ("TRACE", 405),
 ])
 def test_default_redirect_by_method(