Is that possible to create tunnel with subfolder?

Hi,

I am using Raspberry Pi 4 with Dietpi OS. I got a few apps online with cloudflared tunnel. One of them is Nextcloud. While connecting to other applications via port on localhost (e.g. localhost:5112), I can connect to Nextcloud via localhost/nextcloud by default.

Is that possible to create a tunnel for localhost/nextcloud app to connect with nextcloud. domain. com subdomain?