From 52044402ac1f1ca999fba6155a84620f6840461a Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 29 Nov 2023 17:08:13 +0100 Subject: [PATCH] add some redirections --- cluster/prod/app/garage/deploy/garage.hcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl index 5fcaa5a..c51dde7 100644 --- a/cluster/prod/app/garage/deploy/garage.hcl +++ b/cluster/prod/app/garage/deploy/garage.hcl @@ -138,6 +138,8 @@ job "garage" { "tricot-add-header X-Frame-Options SAMEORIGIN", "tricot-add-header X-XSS-Protection 1; mode=block", "tricot-add-header X-Content-Type-Options nosniff", + "tricot-add-redirect www.deuxfleurs.fr deuxfleurs.fr 301", + "tricot-add-redirect osuny.org www.osuny.org 301", "tricot-site-lb", ] port = "web"