Hello!
On Mon, Sep 18, 2017 at 11:16 AM, oresty.ml via openresty-en wrote:
>
> Thank you Hamish, that was an excellent idea, spot on! Unfortunately, for
> some reason, ngx.var.request_uri always returns “nil” :-(
>
This should work as long as you are using it in the request context.
Please provide a minimal and standalone example that can reproduce the
problem on others' machines so that we can have a look.
Regards,
Yichun