Update rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua

This commit is contained in:
Marco Ebert 2024-10-29 08:43:26 +01:00 committed by Ricardo Katz
parent 5d927b06e0
commit 07d530b217

View file

@ -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