How to let Workers work with mydomain.com/workDir/

How to let Workers work with mydomain.com/workDir/ but not mydomain. com, I don’t want mydomain.com connect to any workers, but I need mydomain.com/workDir1/ connect to worker1 and mydomain.com/workDir2/ connect to worker2

how to make it work well ?
here is my configure and code

3 posts were merged into an existing topic: Workers can’t work with shopify domains?