1
without seeing your Nginx.config it will not be possible to help. you can also run curl with -vv and troubleshoot. I assume you just get two re-directs that append the path based on existing path, so you are doing the re-direct twice somehow. I don't know what Daminion or NPM are.
however its possible to route traffic in nginx with location and a normal proxy_pass.