Traefik 3 Tailscale integration for TLS with docker compose for FastAPI container help needed

Are you using Tailscale as VPN? Could this be a network MTU issue where packets are to large for the VPN? I read somewhere compose does not respect a smaller set MTU, it must be set manually.

networks:
  agent_network:
    name: agent_network
    driver: overlay
    driver_opts:
      com.docker.network.driver.mtu: 1400
    attachable: true
  proxy:
    external: true