Hi all!
First time poster and still trying to learn nginx so bear with me here.
Previously, I had a bunch of web services hosted on Docker, proxied using Traefik. I now want to branch into learning Kubernetes and a couple of other technologies so now have a couple of different places traffic may need to be directed to.
I've installed Nginx and attempting to set it up as an ingress controller (if that's the right term) which will take all incoming traffic and route it to the appropriate server (whether that's the Kubernetes cluster, the Docker server or something else entirely)
Bothe the Kubernetes cluster and Docker server have their own reverse proxies (specifically Traefik) for directing traffic to the appropriate container.
How do I set up nginx so that it passes on all the information that the downstream proxies need to function as normal?
Is it also possible to implement a catch all rule such that if an incoming request does not match a given config, forward it to one of the downstream proxies?
Thanks in advanced, still only getting started with nginx and it's very different from traefik so I'm having to adjust a lot.
Toby