From 9b7ac9eb59fa3698f1372fe608ce457720f5f4eb Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Thu, 5 Apr 2018 13:58:45 +0200 Subject: [PATCH] nginx: Redirect old inspector docs (#1214) Ref: https://github.com/nodejs/nodejs.org/pull/1610 --- ansible/roles/nginx/templates/nodejs.org.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/nginx/templates/nodejs.org.conf.j2 b/ansible/roles/nginx/templates/nodejs.org.conf.j2 index 3e34cb16b..922dc1a4b 100644 --- a/ansible/roles/nginx/templates/nodejs.org.conf.j2 +++ b/ansible/roles/nginx/templates/nodejs.org.conf.j2 @@ -411,4 +411,6 @@ server { # Rename 'Stable' release to 'Current' rewrite ^/(.*)/download/stable$ https://$server_name/$1/download/current permanent; + + rewrite ^/en/docs/inspector/$ https://$server_name/en/docs/guides/debugging-getting-started/ permanent; }