From 7508a10a718f9be8eeef1fcf66fad855ce0654c1 Mon Sep 17 00:00:00 2001 From: Quentin Date: Mon, 28 Dec 2020 11:55:29 +0100 Subject: WIP redirect regex --- app/deployment/web_static.hcl | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/deployment/web_static.hcl b/app/deployment/web_static.hcl index 51de395..a02d48b 100644 --- a/app/deployment/web_static.hcl +++ b/app/deployment/web_static.hcl @@ -38,6 +38,7 @@ EOH "traefik.enable=true", "traefik.frontend.entryPoints=https,http", "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" ] port = "deuxfleurs_port" -- cgit v1.2.3