Signed-off-by: Fabian Pflug <[email protected]>
---
 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


Reply via email to