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()by husaindalroti - Nginx Mailing List - English
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() Thanks & Regards Husain Dalroti CONFIDENTIALITY NOTICE This e-mail message and any attacby husaindalroti - Nginx Development
![]() |
![]() |
![]() |
![]() |
![]() |