diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-12-28 11:55:29 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-12-28 11:55:29 +0100 |
commit | 7508a10a718f9be8eeef1fcf66fad855ce0654c1 (patch) | |
tree | f98b33ba11fc0ecd1926a3e706ab75a69f2928fc /app/deployment | |
parent | c4c4d6f8a6e816d8dd27e6391e67f181f9717634 (diff) | |
download | infrastructure-7508a10a718f9be8eeef1fcf66fad855ce0654c1.tar.gz infrastructure-7508a10a718f9be8eeef1fcf66fad855ce0654c1.zip |
WIP redirect regex
Diffstat (limited to 'app/deployment')
-rw-r--r-- | app/deployment/web_static.hcl | 1 |
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" |