Hi Team,
Is it possible to pass lua variable in proxy pass directive which we define
using set_by_lua_file directive ?
Example :
set_by_lua_file $ref test.lua;
proxy_pass '$ref';
Below is lua code :
local function main()
local host="https://example.com"
return host
end
return main()
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,294355,294355#msg-294355
_______________________________________________
nginx mailing list -- [email protected]
To unsubscribe send an email to [email protected]