Serve subdirectory from other port

Hi Folks.

I use Traefik to serve my ODOO instance. For that I have created the following labels:

*--label "traefik.http.services.S1.loadbalancer.server.port=8069" *
*--label "traefic.http.routers.S1.entrypoints=web, websecure" *
*--label "traefik.http.routers.S1.tls.certresolver=production" *
*--label "traefik.http.routers.S1.tls=true" *

That works perfect! Better than the NGINX!

Here is my question:
I want to serve a sub URL from another port from the same container:

So https:/staging should be served from port 8070

How can I do that? Do I need to create a middle ware? Can the load balancer be used?

Thank you for your help

Oliver

I highly recommend against a sub-path.

GUI web apps usually don’t like to be placed on a sub-path, they expect to be / root.

It only works when you can set some kind of "base path" within the application.

Using a different sub-domain is best practice.