it a/www/nginx-acme/Makefile b/www/nginx-acme/Makefile index a85fc8cdc07a..c48493a86ee8 100644 --- a/www/nginx-acme/Makefile +++ b/www/nginx-acme/Makefile @@ -47,6 +47,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/nginx:www/nginx .if ${FLAVOR} == devel NGINX_VERSION= ${NGINX_VERSION_DEVEL} +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_conf_order.rs-devel .else NGINX_VERSION= ${NGINX_VERSION_DEFAULT} .endif diff --git a/www/nginx-acme/files/extra-patch-src_conf_order.rs-devel b/www/nginx-acme/files/extra-patch-src_conf_order.rs-devel new file mode 100644 index 000000000000..9284fb470a46 --- /dev/null +++ b/www/nginx-acme/files/extra-patch-src_conf_order.rs-devel @@ -0,0 +1,11 @@ +--- src/conf/order.rs.orig 2026-01-06 14:12:56.622627000 +0100 ++++ src/conf/order.rs 2026-01-06 14:14:51.810902000 +0100 +@@ -249,7 +249,7 @@ fn validate_host(pool: &Pool, mut host: ngx_str_t) -> + + fn validate_host(pool: &Pool, mut host: ngx_str_t) -> Result { + let mut pool = pool.clone(); +- let rc = Status(unsafe { nginx_sys::ngx_http_validate_host(&mut host, pool.as_mut(), 1) }); ++ let rc = Status(unsafe { nginx_sys::ngx_http_validate_host(&mut host, std::ptr::null_mut(), pool.as_mut(), 1) }); + if rc != Status::NGX_OK { + return Err(rc); + }