Sure, and I can paste the entire compose file if needed:
services:
container_name: Services
restart: always
ports:
- "2001:2001"
labels:
- "traefik.enable=true"
- "traefik.http.routers.services.rule=Host(`services.URL.com`)"
- "traefik.http.routers.services.entrypoints=websecure"
- "traefik.http.routers.services.middlewares=services@docker,redirect"
- "traefik.http.middlewares.services.compress=true"
- "traefik.http.routers.services.tls.certresolver=le"
- "traefik.http.routers.services.tls=true"
- "traefik.http.services.services.loadbalancer.server.port=2001"
- "traefik.http.middlewares.redirect.replacepathregex.regex=^http://www.URL.com/path/123"
- "traefik.http.middlewares.redirect.replacepathregex.replacement=https://services.URL.com/456"
"https://services.URL.com/456" does not receive the POST sent to "http://www.URL.com/path/123" - however, I see a 200 in Traefik.
Also, this will not allow "https://services.URL.com/456" to reply to the remote without SSL.
So Traefik needs to sit between it and the remote and remove the SSL somehow.
This is not the only app in the compose file. Another app listens on www.URL.com & URL.com, but I'm not sure if that matters (I tried this replacepath as a label on both apps, either app, and also globally under traefik app).