labels:
traefik.enable: 'true'
traefik.http.routers.training.rule: Host(www.########.ml,########.ml)
traefik.http.middlewares.test-redirectregex.redirectregex.regex: ^http://########.ml/(.*)
traefik.http.middlewares.test-redirectregex.redirectregex.replacement: ########.ml/$${1}
This is another solution I've tried but it doesn't work.