[PATCH] Make $proxy_host and $proxy_port accessible in dynamic languages

Yichun Zhang (agentzh) agentzh at gmail.com
Mon Oct 28 21:44:45 UTC 2013


Hello!

On Mon, Oct 28, 2013 at 1:41 PM, Maxim Dounin wrote:
>
> What's the intended use?

I cannot really speak for my user. But one use case that I can think
of is for (nonblocking) access logging in Lua, for example, as in

    https://github.com/cloudflare/lua-resty-logger-socket

where we can log $proxy_host and $proxy_port to a nonblocking socket in Lua :)

Best regards,
-agentzh



More information about the nginx-devel mailing list