Skip to content

Commit 6292454

Browse files
Merge pull request #17 from DHTMLX/next
[dev] roll back redirect changes
2 parents 1280b69 + 1432881 commit 6292454

2 files changed

Lines changed: 4 additions & 20 deletions

File tree

docker/nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ http {
4444
location / {
4545
root /usr/share/nginx/html;
4646
index index.html index.htm;
47+
try_files $uri $uri/ @redirect_to_root;
4748
}
49+
location @redirect_to_root {
50+
return 302 /pivot/;
51+
}
4852
}
4953
}

docker/redirects.conf

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
11
/markdown-page/ /pivot/overview;
22

3-
/migrating.html /pivot/news/migration;
4-
/guides__using_typescript.html /pivot/1-5/guides__using_typescript.html;
5-
/guides__export.html /pivot/1-5/guides__export.html;
6-
/guides.html /pivot/1-5/guides.html;
7-
/guides__configuration.html /pivot/1-5/guides__configuration.html
8-
/api__pivot_addmathmethod.html /pivot/1-5/api__pivot_addmathmethod.html;
9-
/guides__customization.html /pivot/1-5/guides__customization.html;
10-
/whatsnew.html /pivot/1-5/whatsnew.html;
11-
/api__pivot_customformat_config.html /pivot/1-5/api__pivot_customformat_config.html;
12-
/how_to_start.html /pivot/1-5/how_to_start.html;
13-
/guides__loading_data.html /pivot/1-5/guides__loading_data.html;
14-
/guides__using_filters.html /pivot/1-5/guides__using_filters.html;
15-
/api__refs__grid_events.html /pivot/1-5/api__refs__grid_events.html;
16-
/api__pivot_setfields.html /pivot/1-5/api__pivot_setfields.html;
17-
/guides__working_with_pivot.html /pivot/1-5/guides__working_with_pivot.html;
18-
/api__pivot_setglobalfilter.html /pivot/1-5/api__pivot_setglobalfilter.html;
19-
/api__pivot_setdata.html /pivot/1-5/api__pivot_setdata.html;
20-
/guides__initialization.html /pivot/1-5/guides__initialization.html;
21-
/api__pivot_mark_config.html /pivot/1-5/api__pivot_mark_config.html;
22-
/api__refs__pivot_events.html /pivot/1-5/api__refs__pivot_events.html;
233
/guides__localization.html /pivot/1-5/guides__localization.html;

0 commit comments

Comments
 (0)