Multiple docker apps served based on path

I've recently started to work with treafik and I'm trying to figure out how to set it as a revers proxy for my docker containers based on path 'name' after domain name. Something like -> nextcloud_container, -> nginx_container, -> django_app_server.
I was thinking that I would have to use addPrefix to set up a path 'name' for app and stripPrefix so it would look in / for the site. But I can't get it to work, or if it will work then all CSS/JS/Statics are not available.

Can anyone help me out to understand it with a simple example how it should be done or point to some materials explaining it?

1 Like