From 85fd5752f1f6954eb71eee4e2d340aea078239db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Gigandet?= Date: Wed, 8 Jan 2025 19:10:23 +0100 Subject: [PATCH] fix: typo in ecoscore redirect (#11213) Co-authored-by: Off --- conf/nginx/snippets/off.locations-redirects.include | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx/snippets/off.locations-redirects.include b/conf/nginx/snippets/off.locations-redirects.include index 35ba591b1f2de..123d5c80ce67e 100644 --- a/conf/nginx/snippets/off.locations-redirects.include +++ b/conf/nginx/snippets/off.locations-redirects.include @@ -4,6 +4,10 @@ location = /nutriscore-v2 { return 301 https://$host/new-nutriscore; } +location ~ ^/(greenscore|ecoscore|eco-score-l-impact-environnemental-des-produits-alimentaires|eco-score-the-environmental-impact-of-food-products)$ { + return 301 https://$host/green-score; +} + # Donations # 100 % translated: fr, bg, ca, zh, cs, da, nl, de, he, id, it, lt, pl, pt, ro, ru, es, tr, uk, vi # EN