Docker load balancing and Routing through Traefik or Nginx or HAProxy

I am hosting an application using Docker with a Swarm Clustering. I am confused as to which proxy I should use to the following required domain working.
Host.domain.com/app1

Host.domain.com/app2

host.domain.com/app3

host.domain.com/app4

I have tried using traefik, but it’s not working.
Should I use Nginx or HAProxy ?
Which among the about is the best suiting for the above requirement, Traefik or Nginx or HAProxy?

Source: StackOverflow