HAproxy ACLs to Allow ssh git operations to only selected git repositories / project urls ( block all other repos)

Solution 1:

HAProxy doesn't terminate a ssh connection so it is unable to look into paths. path can be matched only with HTTP requests (haproxy mode http).