I’m trying to create a rewrite to another service, using a TOML file. When I don’t use a splat it works, however when I do use a splat its turned into a 301.
This works as expected, proxies the request, and returns a 200:
[[redirects]] from = "/test" to = "http://otherserice.com/test" status = 200
This does not work as expected, returns a 301:
[[redirects]] from = "/test/*" to = "http://otherserice.com/test/:splat" status = 200