From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Aug 2025 11:47:03 +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 1urvhH-005m1H-2l for lore@lore.pengutronix.de; Fri, 29 Aug 2025 11:47:03 +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 1urvhH-0006H0-0B; Fri, 29 Aug 2025 11:47:03 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1urvga-0003uC-MO; Fri, 29 Aug 2025 11:46:20 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1urvga-002hrw-1d; Fri, 29 Aug 2025 11:46:20 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1urvga-0000000AzT2-1uNn; Fri, 29 Aug 2025 11:46:20 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 29 Aug 2025 11:46:20 +0200 Message-ID: <20250829094620.2619553-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250814095146.1942317-1-f.pflug@pengutronix.de> References: <20250814095146.1942317-1-f.pflug@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Thanks, applied as 78252b7a0a2cd87a3cae6a5c74ff407ea9cafb17. Michael [sent from post-receive hook] On Fri, 29 Aug 2025 11:46:20 +0200, Fabian Pflug wrote: > Signed-off-by: Fabian Pflug > Message-Id: <20250814095146.1942317-1-f.pflug@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/nginx.in b/rules/nginx.in > index 6ee8a2ec1cb8..6b2fed14b757 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 85df855e1d0e..7cb2fb58e2a9 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) \