From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 14 Aug 2025 11:52:17 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1umUd8-000SzC-1f for lore@lore.pengutronix.de; Thu, 14 Aug 2025 11:52:17 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1umUd7-0001P1-OK; Thu, 14 Aug 2025 11:52:17 +0200 Received: from dude06.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::5c]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1umUcp-0001OB-Aa; Thu, 14 Aug 2025 11:51:59 +0200 From: Fabian Pflug To: ptxdist@pengutronix.de Date: Thu, 14 Aug 2025 11:51:45 +0200 Message-Id: <20250814095146.1942317-1-f.pflug@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 1/2] nginx: add http_auth_request module X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Fabian Pflug Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Fabian Pflug --- rules/nginx.in | 7 +++++++ rules/nginx.make | 1 + 2 files changed, 8 insertions(+) diff --git a/rules/nginx.in b/rules/nginx.in index 6ee8a2ec1..6b2fed14b 100644 --- a/rules/nginx.in +++ b/rules/nginx.in @@ -34,6 +34,13 @@ config NGINX_HTTP_AUTH_BASIC_MODULE resources by validating the user name and password using the HTTP Basic Authentication protocol. +config NGINX_HTTP_AUTH_REQUEST_MODULE + bool + prompt "ngx_http_auth_request_module" + help + The ngx_http_auth_request_module module implements client + authorization based on the result of a subrequest. + config NGINX_HTTP_AUTOINDEX_MODULE bool prompt "ngx_http_autoindex_module" diff --git a/rules/nginx.make b/rules/nginx.make index 85df855e1..7cb2fb58e 100644 --- a/rules/nginx.make +++ b/rules/nginx.make @@ -73,6 +73,7 @@ NGINX_CONF_OPT := \ --without-http_ssi_module \ --without-http_userid_module \ $(call ptx/ifdef, PTXCONF_NGINX_HTTP_ACCESS_MODULE,,--without-http_access_module) \ + $(call ptx/ifdef, PTXCONF_NGINX_HTTP_AUTH_REQUEST_MODULE,--with-http_auth_request_module) \ $(call ptx/ifdef, PTXCONF_NGINX_HTTP_AUTH_BASIC_MODULE,,--without-http_auth_basic_module) \ --without-http_mirror_module \ $(call ptx/ifdef, PTXCONF_NGINX_HTTP_AUTOINDEX_MODULE,,--without-http_autoindex_module) \ -- 2.39.5