From 07d530b217e6f3c62b5ebe3383d319f4d86ae78e Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Tue, 29 Oct 2024 08:43:26 +0100 Subject: [PATCH] Update rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua --- rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua b/rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua index d56221e1c..5c42b99c0 100644 --- a/rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua +++ b/rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua @@ -6,10 +6,7 @@ local ipairs = ipairs local ngx_log = ngx.log local ngx_ERR = ngx.ERR -local res = ngx.location.capture(auth_path, { - method = ngx.HTTP_GET, body = '', - share_all_vars = keepalive_shared_vars } -) +local res = ngx.location.capture(auth_path, { method = ngx.HTTP_GET, body = '', share_all_vars = keepalive_shared_vars }) if res.status == ngx.HTTP_OK then local header_parts, err = ngx_re_split(auth_response_headers, ",") if err then