Proxy folder to inside server

Hi, I have one question (I’m pretty new to HAProxy so maybe the answer is very simple).
I have some servers inside with Nextcloud.
I wish to have the external address to them like,, … .
The question is how to set this up HAProxy so the to proxy to I also want the address in the client browser to stay with /nc1/ all the time.