Roots Discourse

Looking for some help using bedrock behind Traefik for https://test.mysite.org/TEST/blog

So when I try setting up bedrock on my local system all seems well and good. As soon as I bring it in to a small docker environment with traefik routing requests to the container I run into problems. it shows itself as https://test.mysite.com/TEST/blog/wp/wp-login.php?redirect_to=https%3A%2F%2Ftest.mysite.com%2Fwp%2Fwp-admin%2F&reauth=1

Some urls in wp-admin are fine others seem to strip the suffix /TEST/ leaving me with a url that looks like https://test.mysite.or/blog

In that case traefik does not know how to get the request to wordpress.

Any ideas would be helpful.

Thanks