From d62e636131b81560596a9e0242cba8afdf3003bf Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Mon, 9 Apr 2018 05:12:11 +0200 Subject: [PATCH] nginx: Redirect old inspector docs (node executable) (#1219) * nginx: Redirect old inspector docs Ref: https://github.com/nodejs/nodejs.org/pull/1610 * nginx: Redirect old inspector docs (node executable) Turns out node was linking to https://nodejs.org/en/docs/inspector. This fixes the redirect as well. Ref: https://github.com/nodejs/nodejs.org/issues/1619 --- setup/www/resources/config/nodejs.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/www/resources/config/nodejs.org b/setup/www/resources/config/nodejs.org index d981d3a35..1c97e6f0c 100644 --- a/setup/www/resources/config/nodejs.org +++ b/setup/www/resources/config/nodejs.org @@ -424,5 +424,5 @@ server { rewrite ^/static/documents/casestudies/(.*)$ https://foundation.nodejs.org/wp-content/uploads/sites/50/2017/09/$1 permanent; rewrite ^/static/documents/minutes/nodejs-foundation-board-meeting-(.*).pdf$ https://github.com/nodejs/board/blob/master/minutes/$1.md permanent; - rewrite ^/en/docs/inspector/$ https://$server_name/en/docs/guides/debugging-getting-started/ permanent; + rewrite ^/en/docs/inspector/?$ https://$server_name/en/docs/guides/debugging-getting-started/ permanent; }