Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy to traefik

Francis Daly
July 02, 2022 04:26AM
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,

f
--
Francis Daly francis@daoine.org
_______________________________________________
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: 68
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready