Help with application mapping

Hi, I have setup gitlab.domainon SSL port, and working perfectly. I was able to do this using sub domain and map the DNS name with no issue.

My question is, on the same server, I have Jenkins running, how do I map subdomain like jenkins.domain using back-end port 8090?

Use origin rules…

Take the request like /jenkin and redirect it to back end port 8090?