As we’re working on moving our website Netlify, I’m stumbling on the following issue:
We have a custom domain that we use for testing environments.
Each dev can create a testing environment and the url can be defined by them at build time. something like test.fbx.biz for example and the app at app-test.fbx.biz
These domains are not known in advance.
In our netlify site, we have a _redirects file that has something like this :
/login https://app-test.fbx.biz/login 301!
And the frontend links are relative, so the redirects will be environment agnostic.
Do the redirect rules support any type of dynamic URL structure so I could write something like this?
Or is there another way for me to support unknown in advance domains that point to the same netlify site?