Update rootfs/etc/nginx/lua/nginx/ngx_conf_external_auth.lua
This commit is contained in:
parent
5d927b06e0
commit
07d530b217
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue