Redirect links in Camunda Cockpit don't work under different contexts


we have a Camunda service running under a web context which is like
but the internal links and ressources of the Cockpit point to hard-coded web contexts like /camunda/app/welcome/default/# which results in links like
which means that the context /environment42/processcontrol-engine/ is gone.
Also Nginx doesn’t help us, because the web-packed Javascript libraries load resources from outside our context.
Does anyone has an idea to solve this problem?