aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-29 17:08:13 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-29 17:08:13 +0100
commit52044402ac1f1ca999fba6155a84620f6840461a (patch)
treed7219c663b0c733073faf2b1d106934aaace7de4
parentd14fc2516cf9646147da7c77c024bd552acc3067 (diff)
downloadnixcfg-52044402ac1f1ca999fba6155a84620f6840461a.tar.gz
nixcfg-52044402ac1f1ca999fba6155a84620f6840461a.zip
add some redirections
-rw-r--r--cluster/prod/app/garage/deploy/garage.hcl2
1 files changed, 2 insertions, 0 deletions
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"