add FALLBACK_REDIRECT_URL to be able to redirect any unknown paths to a different domain #6

Open
mayel wants to merge 2 commits from fallback-redirect-url into main
Owner

our use case: we moved an existing app from a root domain to a subdomain to replace it with a static website, but still want the old URLs to all work and be redirected to the subdomain

our use case: we moved an existing app from a root domain to a subdomain to replace it with a static website, but still want the old URLs to all work and be redirected to the subdomain
mayel added 1 commit 2025-10-18 13:50:40 +00:00
add FALLBACK_REDIRECT_URL to be able to redirect any unknown paths to a different domain
Some checks failed
continuous-integration/drone/pr Build is failing
788fb420ac
mayel added 1 commit 2025-10-18 20:32:16 +00:00
remove HTML_ROOT & update readme
Some checks failed
continuous-integration/drone/pr Build is failing
514040fceb
Owner

Hey, this looks good. However, it seems like quite a complication for such a simple / small recipe. I wonder should this not be solved somehow at the proxy level? E.g. https://doc.traefik.io/traefik/reference/routing-configuration/http/middlewares/redirectregex/ I can imagine this a problem which we'll see in other recipes also...

Hey, this looks good. However, it seems like quite a complication for such a simple / small recipe. I wonder should this not be solved somehow at the proxy level? E.g. https://doc.traefik.io/traefik/reference/routing-configuration/http/middlewares/redirectregex/ I can imagine this a problem which we'll see in other recipes also...
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fallback-redirect-url:fallback-redirect-url
git checkout fallback-redirect-url
Sign in to join this conversation.
No description provided.