Domain aliases based on env var #15
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
E.g. if we set up an app on
https://foo.swarm.autonomic.zone
and then migrate it tohttps://foo.bar
, it'd be nice to define the old URL as an alias so it redirects instead of 404ing.I guess the question is how to turn a shell array or space-separated list into a Traefik routing rule?
This will also be useful for redirecting
www
subdomains, which we probably don't want to hard code into each stack.Method for easily adding domain aliasesto Domain aliases based on env varhttps://github.com/traefik/traefik/issues/572
I've got what seems like a decent solution for this:
compose.yml
:.envrc
:Syntax So Bad It Needs a
shellcheck
Exception™