forked from Deuxfleurs/infrastructure
WIP redirect regex
This commit is contained in:
parent
c4c4d6f8a6
commit
7508a10a71
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ EOH
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.frontend.entryPoints=https,http",
|
"traefik.frontend.entryPoints=https,http",
|
||||||
"traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr,deuxfleurs.org,www.deuxfleurs.org;PathPrefix:/",
|
"traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr,deuxfleurs.org,www.deuxfleurs.org;PathPrefix:/",
|
||||||
|
# ideally we would have a rewrite regex: ^https?://(www\.deuxfleurs\.fr|deuxfleurs\.org|www\.deuxfleurs\.fr)(.*)$
|
||||||
"traefik.frontend.priority=10"
|
"traefik.frontend.priority=10"
|
||||||
]
|
]
|
||||||
port = "deuxfleurs_port"
|
port = "deuxfleurs_port"
|
||||||
|
|
Loading…
Reference in a new issue