Template to proxy pass to a subpath

I am trying to proxy pass a mydomain.com/path to a port. I created a proxy template by creating a new template like this https://pastebin.com/ukzSaS2r
but these only get blank pages. Can someone provide the correct template format?

You can try this

Not tested …

Still not working. This only happen if I want to add /path to domain . Proxy pass to domain.com works correctly with same example template.