I am trying to use Traefik to deploy proxy multiple applications in my Docker Swarm mode cluster.
I have got it so that it proxies a named Host but I want it to proxy o
If you want multiple rules to apply in order for a routing decision to become effective, separate them by semicolon. For instance:
Host: ; PathPrefixStrip: /portainer
What the above means is: If the host and path prefix match, Traefik will route requests to the associated backend(s) (and strip off the specified path prefix prior to forwarding). This even works when defined inside a label.
See the frontend documentation for details.
Host(`domain.com`) && Path(`/path`)
See the docs