Skip to content

Commit

Permalink
s/redirect/rewrite in nodejs.org nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Nov 27, 2017
1 parent dca83ce commit 496fcfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/www/resources/config/nodejs.org
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,6 @@ server {
rewrite ^/foundation/?$ https://foundation.nodejs.org/ permanent;
rewrite ^/foundation/members.html$ https://foundation.nodejs.org/about/members permanent;

redirect ^/static/documents/casestudies/(.*)$ https://foundation.nodejs.org/wp-content/uploads/sites/50/2017/09/$1 permanent;
redirect ^/static/documents/minutes/nodejs-foundation-board-meeting-(.*).pdf$ https://github.com/nodejs/board/blob/master/minutes/$1.md permanent;
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;
}

0 comments on commit 496fcfd

Please sign in to comment.