Hello there,
Say that I have a service X exposed as http://10.0.10.123:5000
with basic authentication on machine A. Then, on machine B, I have Traefik (installed in Docker) where I manage all my routers for all services on multiple machines.
Is it possible for me to define a route like service-x.example.com
, point to a service-x that proxies to http://10.0.10.123:5000
, and automatically forwards the basic authentication username/password to that service? In other words, accessing service-x.example.com
should automatically login the user to service X, without asking the user for a username/password (these would have to be hard-coded somewhere in Traeifk config).
I understand this might sound like an odd request, but please, humour me, is this even possible to achieve with Traefik? If so, can I get some pointers on how to do it?