Roots Discourse

Looking for some help using bedrock behind Traefik for

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

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.