Hi Husain,
On Mon, May 30, 2022 at 07:30:10AM +, Dalroti, Husain wrote:
> 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'
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
Hi.
Am 04-04-2017 17:02, schrieb Antonio Nappa:
Hello, in another of my experiments I would like to redirect to a
completely different website the request, I had a look at the
proxy_pass directive and the corresponding module, and I see that
a location handler is set, which means it will hook
Hello, in another of my experiments I would like to redirect to a
completely different website the request, I had a look at the proxy_pass
directive and the corresponding module, and I see that a location handler
is set, which means it will hook as the only content handler. My question
is, could I
Hello,
I want to add a custom 'handler', which would update ngx_os_argv[0] on
request. It should be like this:
root 18601 0.0 0.0 62272 3812 ?Ss 07:00 0:00 nginx:
master process /opt/nginx/bin/nginx -c /opt/nginx/etc/nginx.conf
web 18602 0.0 0.0 70372 7904 ?S