Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy to traefik

July 07, 2022 10:18AM
El 6/7/22 a las 10:47, Francis Daly escribió:
> On Tue, Jul 05, 2022 at 12:53:05PM +0000, Daniel Armando Rodriguez via nginx wrote:
>> 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,
>
>>>> Made this representation to illustrate the situation.
>>>> https://i.postimg.cc/Zq1Ndyws/scheme.png
>> 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.
> I think you are saying that you want nginx to be a "plain" tcp-forwarder
> in this case.
>
> (I'm not certain *why* that matters here, but that's ok; I don't need
> to understand it ;-) .)
>
> Doeshttp://nginx.org/en/docs/stream/ngx_stream_proxy_module.html work
> for you?
>
> Something like
>
> ==
> stream {
> server {
> listen nginx-ip:443;
> proxy_pass traefik-ip:443;
> }
> }
> ==
>
> (If you have a stream listener on an IP:port, you cannot also have a
> http listener on that same IP:port.)
>
> Your picture also shows some blue lines on the left-hand
> side, so it may be that you also want something like
> http://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html,
> to choose which "upstream" to proxy_pass to, depending on the server
> name presented in the SSL connection to nginx.
>
> Cheers,
>
> f

Nginx is actually working as RP for several subdomains for which is also
SSL termination. The traefik box is out of my scope, but it has the
ability to negotiate TLS certificates for its own. That's why I need to
forward just specific subdomain TCP traffic to it.



________________________________________________
*Daniel A. Rodriguez*
/Informática, Conectividad y Sistemas/
Universidad Nacional del Alto Uruguay
San Vicente - Misiones - Argentina
informatica.unau.edu.ar https://informatica.unau.edu.ar
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Reverse proxy to traefik

drodriguez June 24, 2022 03:26PM

Re: Reverse proxy to traefik

Francis Daly July 02, 2022 04:26AM

Re: Reverse proxy to traefik

Daniel Armando Rodriguez via nginx July 05, 2022 08:54AM

Re: Reverse proxy to traefik

Francis Daly July 06, 2022 09:50AM

Re: Reverse proxy to traefik

drodriguez July 07, 2022 10:18AM

Re: Reverse proxy to traefik

Francis Daly July 08, 2022 02:00PM

reverse proxy

Saint Michael July 11, 2022 03:14PM

Re: reverse proxy

Thomas Ward July 11, 2022 03:52PM

Re: reverse proxy

Saint Michael July 11, 2022 04:24PM

Re: reverse proxy

Thomas Ward July 11, 2022 05:04PM

Re: reverse proxy

Jessica Dooley July 11, 2022 05:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready