From a29eaeb89a903dc36223106f2b07ea35b366095c Mon Sep 17 00:00:00 2001 From: James Seden Smith Date: Thu, 9 Feb 2023 21:53:22 +0000 Subject: [PATCH] Add a redirect for /links to the homepage srobo.org/links is going to be on our new business cards. We're currently undecided if we want to display a separate cut down list of links, or just redirect to the homepage. This commit adds the redirect so we can easily change our minds later. --- 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 2ac2eef..9e8f38b 100644 --- a/roles/srobo-nginx/templates/nginx.conf +++ b/roles/srobo-nginx/templates/nginx.conf @@ -225,6 +225,9 @@ http { # About page has been merged into the home page rewrite ^/about / redirect; + # srobo.org/links is on our business cards + rewrite ^/links / redirect; + # SR Boards rewrite ^/kch /docs/kit/brain_board redirect; rewrite ^/mcv4 /docs/kit/motor_board redirect;