changeset 7591 | accessing SNI from Stream module

Roberto Soto webmaster at
Mon Nov 11 20:55:42 UTC 2019

Thank you for your answers, however, i'm still in doubt:

What does the variable $proxy_protocol_server_addr carry exactly?

I've been reading the code a bit, but cannot figure out if it is indeed
what I'm looking for:
Does it carry the server_name (SNI) requested by the client?

Checking the Proxy Protocol preference, it seems that it does support SNI:
Contains the host name value passed by the client, as an UTF8-encoded

Is it possible to access such information from Nginx's stream module?

Best regards,


On 11/9/19 8:40 AM, Maxim Konovalov wrote:
> Hi Roberto,
> On 09/11/2019 02:34, Roberto Soto wrote:
>> Greetings, I have a question regarding the release life-cycle.
>> For a specific use-case (which can be expanded on later), I'm relying on
>> variable $proxy_protocol_server_addr, that was just introduced recently
>> in changeset 7591.
>> I see version was bumped to 1.17.6, but there is no tag in mercurial for
>> that yet, so I supposed it hasn't been released?
>> The question is rather simple: can I expect this version to be available
>> soon?
>> Otherwise I suppose one can always compile it from source into a new
>> docker image.
>> Reading the official Dockerfile, I guess compiling would be easier if
>> the tag existed already, and even might need that a debian package was
>> available for 1.17.6 version too, isn't it?
> [...]
> We are planning to release 1.17.6 with these vars on 19th of
> November, see

More information about the nginx-devel mailing list