mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] nginx: add http_auth_request module
@ 2025-08-14  9:51 Fabian Pflug
  2025-08-14  9:51 ` [ptxdist] [PATCH 2/2] nginx: make http_limit modules selectable Fabian Pflug
  2025-08-29  9:46 ` [ptxdist] [APPLIED] nginx: add http_auth_request module Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Fabian Pflug @ 2025-08-14  9:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH 2/2] nginx: make http_limit modules selectable
  2025-08-14  9:51 [ptxdist] [PATCH 1/2] nginx: add http_auth_request module Fabian Pflug
@ 2025-08-14  9:51 ` Fabian Pflug
  2025-08-29  9:46   ` [ptxdist] [APPLIED] " Michael Olbrich
  2025-08-29  9:46 ` [ptxdist] [APPLIED] nginx: add http_auth_request module Michael Olbrich
  1 sibling, 1 reply; 4+ messages in thread
From: Fabian Pflug @ 2025-08-14  9:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 rules/nginx.in   | 16 ++++++++++++++++
 rules/nginx.make |  4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/rules/nginx.in b/rules/nginx.in
index 6b2fed14b..f83031e97 100644
--- a/rules/nginx.in
+++ b/rules/nginx.in
@@ -84,6 +84,22 @@ config NGINX_HTTP_GRPC_MODULE
 	help
 	  ngx_http_grpc_module allows passing requests to a gRPC server.
 
+config NGINX_HTTP_LIMIT_CON_MODULE
+	bool
+	prompt "ngx_http_limit_conn_module"
+	help
+	  The ngx_http_limit_conn_module module is used to limit the number
+	  of connections per the defined key, in particular, the number of
+	  connections from a single IP address.
+
+config NGINX_HTTP_LIMIT_REQ_MODULE
+	bool
+	prompt "ngx_http_limit_req_module"
+	help
+	  The ngx_http_limit_req_module module is used to limit the
+	  request processing rate per a defined key, in particular,
+	  the processing rate of requests coming from a single IP address.
+
 config NGINX_HTTP_PROXY_MODULE
 	bool
 	prompt "ngx_http_proxy_module"
diff --git a/rules/nginx.make b/rules/nginx.make
index 7cb2fb58e..5694eeb04 100644
--- a/rules/nginx.make
+++ b/rules/nginx.make
@@ -87,8 +87,8 @@ NGINX_CONF_OPT := \
 	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_SCGI_MODULE,,--without-http_scgi_module) \
 	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_GRPC_MODULE,,--without-http_grpc_module) \
 	--without-http_memcached_module \
-	--without-http_limit_conn_module \
-	--without-http_limit_req_module \
+	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_LIMIT_CON_MODULE,,--without-http_limit_conn_module) \
+	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_LIMIT_REQ_MODULE,,--without-http_limit_req_module) \
 	--without-http_empty_gif_module \
 	--without-http_browser_module \
 	--without-http_upstream_hash_module \
-- 
2.39.5




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] nginx: add http_auth_request module
  2025-08-14  9:51 [ptxdist] [PATCH 1/2] nginx: add http_auth_request module Fabian Pflug
  2025-08-14  9:51 ` [ptxdist] [PATCH 2/2] nginx: make http_limit modules selectable Fabian Pflug
@ 2025-08-29  9:46 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-08-29  9:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Thanks, applied as 78252b7a0a2cd87a3cae6a5c74ff407ea9cafb17.

Michael

[sent from post-receive hook]

On Fri, 29 Aug 2025 11:46:20 +0200, Fabian Pflug <f.pflug@pengutronix.de> wrote:
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
> Message-Id: <20250814095146.1942317-1-f.pflug@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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) \



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] nginx: make http_limit modules selectable
  2025-08-14  9:51 ` [ptxdist] [PATCH 2/2] nginx: make http_limit modules selectable Fabian Pflug
@ 2025-08-29  9:46   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-08-29  9:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Thanks, applied as a03f96999b74658894c36c1a2640a22f2e7ce788.

Michael

[sent from post-receive hook]

On Fri, 29 Aug 2025 11:46:21 +0200, Fabian Pflug <f.pflug@pengutronix.de> wrote:
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
> Message-Id: <20250814095146.1942317-2-f.pflug@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/nginx.in b/rules/nginx.in
> index 6b2fed14b757..f83031e97f71 100644
> --- a/rules/nginx.in
> +++ b/rules/nginx.in
> @@ -84,6 +84,22 @@ config NGINX_HTTP_GRPC_MODULE
>  	help
>  	  ngx_http_grpc_module allows passing requests to a gRPC server.
>  
> +config NGINX_HTTP_LIMIT_CON_MODULE
> +	bool
> +	prompt "ngx_http_limit_conn_module"
> +	help
> +	  The ngx_http_limit_conn_module module is used to limit the number
> +	  of connections per the defined key, in particular, the number of
> +	  connections from a single IP address.
> +
> +config NGINX_HTTP_LIMIT_REQ_MODULE
> +	bool
> +	prompt "ngx_http_limit_req_module"
> +	help
> +	  The ngx_http_limit_req_module module is used to limit the
> +	  request processing rate per a defined key, in particular,
> +	  the processing rate of requests coming from a single IP address.
> +
>  config NGINX_HTTP_PROXY_MODULE
>  	bool
>  	prompt "ngx_http_proxy_module"
> diff --git a/rules/nginx.make b/rules/nginx.make
> index 7cb2fb58e2a9..5694eeb04550 100644
> --- a/rules/nginx.make
> +++ b/rules/nginx.make
> @@ -87,8 +87,8 @@ NGINX_CONF_OPT := \
>  	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_SCGI_MODULE,,--without-http_scgi_module) \
>  	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_GRPC_MODULE,,--without-http_grpc_module) \
>  	--without-http_memcached_module \
> -	--without-http_limit_conn_module \
> -	--without-http_limit_req_module \
> +	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_LIMIT_CON_MODULE,,--without-http_limit_conn_module) \
> +	$(call ptx/ifdef, PTXCONF_NGINX_HTTP_LIMIT_REQ_MODULE,,--without-http_limit_req_module) \
>  	--without-http_empty_gif_module \
>  	--without-http_browser_module \
>  	--without-http_upstream_hash_module \



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-29  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14  9:51 [ptxdist] [PATCH 1/2] nginx: add http_auth_request module Fabian Pflug
2025-08-14  9:51 ` [ptxdist] [PATCH 2/2] nginx: make http_limit modules selectable Fabian Pflug
2025-08-29  9:46   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-08-29  9:46 ` [ptxdist] [APPLIED] nginx: add http_auth_request module Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox