Grafana login 404 behind traefik (docker-compose)

Hi,

I’m using grafana in a docker-compose environment with a traefik setup.
Everything works great except for grafanas redirect after a successful login.

It is supposed to redirect to http://my.domain/grafana/ but instead only redirects to http://my.domain/ what restults in a 404.

My docker-compose looks like this:

grafana:
  image: grafana/grafana
  volumes:
    - grafana_data:/var/lib/grafana
  ports:
    - 3000:3000
  networks:
    - webgateway
  environment:
    - GF_SERVER_ROOT_URL=${DOMAIN_PROTOCOL}://${BASE_DOMAIN}/grafana/
    - GF_SERVER_DOMAIN=${BASE_DOMAIN}
  labels:
    traefik.enable: true
    traefik.backend: grafana
    traefik.frontend.rule: Host:${BASE_DOMAIN};PathPrefix:/grafana;PathPrefixStrip:/grafana
    traefik.port: 3000
    traefik.docker.network: webgateway

Am I making any obvious mistakes here?

Due to reasons, deleting the browser cookies for http://my.domain has fixed my problem…

Everything now works as expected