Reverse proxy to traefik

Daniel Armando Rodriguez drodriguez at unau.edu.ar
Tue Jul 5 12:53:05 UTC 2022


El 2022-07-02 08:24, Francis Daly escribió:
> On Fri, Jun 24, 2022 at 04:23:54PM -0300, Daniel Armando Rodriguez 
> wrote:
> 
> Hi there,
> 
>> I need to forward HTTP/HTTPS stream to a traefik within docker 
>> container.
>> Additionally, this traefik is also SSL termination. And just at this 
>> point
>> where I am stuck, as the SSL management against Let's Encrypt needs 
>> both
>> HTTP and HTTPS traffic.
> 
> I'm not quite sure what you are trying to do, in nginx terms.
> 
> nginx has the idea of "http", where an incoming http or https request
> to nginx is handled by nginx making a new http or https request to the
> upstream service; and nginx has the idea of "stream", where any traffic
> on an incoming tcp connection is forwarded to an upstream service. That
> "stream" traffic can optionally be SSL-decrypted or encrypted by nginx
> before forwarding.
> 
>> Made this representation to illustrate the situation.
>> https://i.postimg.cc/Zq1Ndyws/scheme.png
> 
> If you can describe what you want, in terms of "something external
> will make a http request of nginx that should be handled in this way;
> it will make a https request of nginx that should be handled in that 
> way;
> and it will send a generic tcp stream to this port on nginx that should
> be handled in this other way", then the nginx config to handle that,
> might be clearer.
> 
> Cheers,

Hi, thanks for your time

What I need to do is allowing traefik "black" box to negotiate SSL 
certificate directly with Let's Encrypt, that was intended to be 
referred as stream.




________________________________________________

  Daniel A. Rodriguez
_Informática, Conectividad y Sistemas_
Universidad Nacional del Alto Uruguay
San Vicente - Misiones - Argentina
informatica.unau.edu.ar



More information about the nginx mailing list