From a8b58a56a26705c65c8bf3977956372d8dabe60e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 8 Sep 2024 14:46:24 +0100 Subject: [PATCH] Add redirect to fix misprinted kit return instructions --- roles/srobo-nginx/templates/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/srobo-nginx/templates/nginx.conf b/roles/srobo-nginx/templates/nginx.conf index a6be3bf..f205879 100644 --- a/roles/srobo-nginx/templates/nginx.conf +++ b/roles/srobo-nginx/templates/nginx.conf @@ -258,6 +258,9 @@ http { rewrite ^/tasks https://github.com/orgs/srobo/projects/24/ redirect; + # Fix misprinted kit return instructions + rewrite ^/kit/return /docs/kit/return redirect; + # SR Boards rewrite ^/kch /docs/kit/brain_board redirect; rewrite ^/mcv4 /docs/kit/motor_board redirect;