Public Hostname "Path" is appended to Service URL?

I am using cloudflared to access some services on my Raspberry Pi. I have to services, one on http://localhost:1234 and one on http://localhost:5678. I would like to access these by using different paths in the public hostname like so:

subdomain.domain.com/path1 >> http://localhost:1234
subdomain.domain.com/path2 >> http://localhost:5678

However, this resolves to:

subdomain.domain.com/path1 >> http://localhost:1234/path1
subdomain.domain.com/path1 >> http://localhost:1234/path2

Using the tunnel without the path works fine:

subdomain.domain.com>> http://localhost:1234

Is this expected behaviour?