diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-29 17:08:13 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-29 17:08:13 +0100 |
commit | 52044402ac1f1ca999fba6155a84620f6840461a (patch) | |
tree | d7219c663b0c733073faf2b1d106934aaace7de4 /cluster | |
parent | d14fc2516cf9646147da7c77c024bd552acc3067 (diff) | |
download | nixcfg-52044402ac1f1ca999fba6155a84620f6840461a.tar.gz nixcfg-52044402ac1f1ca999fba6155a84620f6840461a.zip |
add some redirections
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/prod/app/garage/deploy/garage.hcl | 2 |
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" |