Rewrite target issue when website redirects to another url

Hello again,

I have still some issues with the URL rewrite. I got it solved for my ingress server with https and certificates but it only works when I do not set a path.

if I add a path such as /unms the website loads but do not redirect to hostname/unms/setup/account
It stays on hostname/unms with no error, with an empty page (the title displays UNMS 0.13.3 so I know I am on the right endpoint).

The service I am trying to access is oznu/unms from dockerhub.

I have tried to play with annotation and regular expressions but I am not sure it is the way to go.

Any advice?
Thank you

Torpi