Login page is showed partially. No showed images and other content of the page with Traefik

Hello

I'm trying to have a BlueSpice container with Docker on, with Traefik. My login page is not correctly showed.

My docker-compose.yml file is:

version: '3.7'
services:
bluespice:
container_name: bluespice-container

logging:
  driver: "json-file"
  options:
    max-size: "20m"

image: bluespice/bluespice-free:4.4.0

networks:
  - traefik-net

command:
  - --port:80

restart: always

labels:
  - "traefik.backend=bluespice"
  - "traefik.enable=true"
  - "traefik.http.routers.bluespice.middlewares=autodetect"
  - "traefik.http.middlewares.autodetect.contenttype.autodetect=false"
  - "traefik.http.routers.bluespice.rule=Path(`/wiki/`)"
  - "traefik.http.services.bluespice.loadbalancer.server.port=80"
  - "traefik.docker.network=traefik-net"

environment:
  - BS_LANG=sp
  - BS_URL=http://wmicro.company.xx
  - DISABLE_PING=yes
volumes:
  - ./data:/data

networks:
traefik-net:
external: true

When I inspect the web page, I obtain the next errors:

image

PD: It's my first try to have an system with Traefik.

Thanks in advance

Use PathPrefix(), not Path() in rule.

Thanks bluepuma77!!

I solved the problem with PathPrefix(/wiki/) || PathPrefix(/w)

PathPrefix(/w) was necesary.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.