aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/deployment/web_static.hcl1
1 files changed, 1 insertions, 0 deletions
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"