Can't rewrite path for request from main page when proxy in docker container

Hi. I have some problem when send requests to docker container by Traefik 1.7.16 using PathPrefixStrip
example in docker-compose file

      container_name: container1
      build: "docker_image/container1"
        - traefik.enable=true
        - traefik.backend=container1
        - traefik.port=8080
        - web

When me go to page application return main page with code 200, but all calls from page like /somejs.js looks like but not like

Can I solve this problem using only Traefik methods or smth?