Welcome! Log In Create A New Profile


changeset 7591

Roberto Soto
November 08, 2019 06:36PM
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

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?


Why do I need this variable? Explanation below:

I use Nginx as a reverse proxy in a docker network. In this case, I'm
experiencing with proxying radio streaming.

I've found it is easy to do with the stream module. However, with it, I
can not longer load balance based on the Host header.

(Because stream assumes it is plain TCP, so server_name directive is not
available. However, the stream in matter of fact is HTTP and does carry
the header when reaching for the proxy)

So instead the solution would be to use proxy_protocol, combining this
variable with the map module, so that the upstream can be decided based
on the requested host.

So if the $proxy_protocol_server_addr doesn't actually do that, please
let me know XD

Thank you in advance


nginx-devel mailing list
Subject Author Views Posted

changeset 7591

Roberto Soto 132 November 08, 2019 06:36PM

Re: changeset 7591

Maxim Konovalov 33 November 09, 2019 11:36AM

Re: changeset 7591 | accessing SNI from Stream module

Roberto Soto 49 November 11, 2019 03:56PM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready