From 7ceccc441bea0ec966ea8e3b67e5c5148ff6b91e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 28 Oct 2025 15:26:04 +0100 Subject: [PATCH] www/nginx: use mwexecf PR: https://github.com/opnsense/core/issues/9325 --- www/nginx/Makefile | 2 +- www/nginx/src/opnsense/scripts/nginx/ngx_autoblock.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 758633855..59e1f9511 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= nginx PLUGIN_VERSION= 1.35 -PLUGIN_REVISION= 2 +PLUGIN_REVISION= 3 PLUGIN_COMMENT= Nginx HTTP server and reverse proxy PLUGIN_DEPENDS= nginx PLUGIN_MAINTAINER= franz.fabian.94@gmail.com diff --git a/www/nginx/src/opnsense/scripts/nginx/ngx_autoblock.php b/www/nginx/src/opnsense/scripts/nginx/ngx_autoblock.php index 7a4ee048e..93bfab68b 100755 --- a/www/nginx/src/opnsense/scripts/nginx/ngx_autoblock.php +++ b/www/nginx/src/opnsense/scripts/nginx/ngx_autoblock.php @@ -216,7 +216,7 @@ $work_files = (function () use ($is_ten_minutes) { // Triggering TLS-handshake processor when corresponding work file exists. if (in_array(TLS_HANDSHAKE_FILE_WORK, $work_files)) { - mwexec(TLS_HANDSHAKE_PROCESSING_TASK); + mwexecf(TLS_HANDSHAKE_PROCESSING_TASK); } // Abort if permanent ban file is missing