'Traefik Path Prefix Strip using docker labels

I am new to docker however I am (trying to) using Treafik as my reverse proxy. I am trying to configure it so that I can visit url.com/foo to visit a specific docker container. However I am currently using label: traefik.http.routers.uptime.rule Value: Host(url.com) && PathPrefix(/foo) however when I visit the site it is fetching the HTML but not the css etc. This is because I am not using PathPrefixStrip how can I add this into my docker labels? Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source