Skip to content

Commit

Permalink
Merge pull request NativeScript#1224 from NativeScript/niliev/links
Browse files Browse the repository at this point in the history
fix:NG cookbook links
  • Loading branch information
etabakov authored Jun 26, 2018
2 parents c5e112b + cd0c682 commit 61eb225
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,17 @@ http {
rewrite ^/angular/code-samples/ui/layouts $proto://$host_and_port/angular/ui/layouts/layout-containers permanent;

# Redirect Angular code-samples (taht were outside UI section)
rewrite ^/angular/code-samples/application $proto://$host_and_port/angular/ng-framework-modules/application permanent;
rewrite ^/angular/code-samples/application-settings $proto://$host_and_port/angular/ng-framework-modules/application-settings permanent;
rewrite ^/angular/code-samples/color $proto://$host_and_port/angular/ng-framework-modules/color permanent;
rewrite ^/angular/code-samples/connectivity $proto://$host_and_port/angular/ng-framework-modules/connectivity permanent;
rewrite ^/angular/code-samples/file-system $proto://$host_and_port/angular/ng-framework-modules/file-system permanent;
rewrite ^/angular/code-samples/fps-meter $proto://$host_and_port/angular/ng-framework-modules/fps-meter permanent;
rewrite ^/angular/code-samples/http $proto://$host_and_port/angular/ng-framework-modules/http permanent;
rewrite ^/angular/code-samples/platform $proto://$host_and_port/angular/ng-framework-modules/platform permanent;
rewrite ^/angular/code-samples/routing $proto://$host_and_port/angular/ng-framework-modules/routing permanent;
rewrite ^/angular/code-samples/timer $proto://$host_and_port/angular/ng-framework-modules/timer permanent;
rewrite ^/angular/code-samples/trace $proto://$host_and_port/angular/ng-framework-modules/trace permanent;
rewrite ^/angular/cookbook/application $proto://$host_and_port/angular/ng-framework-modules/application permanent;
rewrite ^/angular/cookbook/application-settings $proto://$host_and_port/angular/ng-framework-modules/application-settings permanent;
rewrite ^/angular/cookbook/color $proto://$host_and_port/angular/ng-framework-modules/color permanent;
rewrite ^/angular/cookbook/connectivity $proto://$host_and_port/angular/ng-framework-modules/connectivity permanent;
rewrite ^/angular/cookbook/file-system $proto://$host_and_port/angular/ng-framework-modules/file-system permanent;
rewrite ^/angular/cookbook/fps-meter $proto://$host_and_port/angular/ng-framework-modules/fps-meter permanent;
rewrite ^/angular/cookbook/http $proto://$host_and_port/angular/ng-framework-modules/http permanent;
rewrite ^/angular/cookbook/platform $proto://$host_and_port/angular/ng-framework-modules/platform permanent;
rewrite ^/angular/cookbook/routing $proto://$host_and_port/angular/ng-framework-modules/routing permanent;
rewrite ^/angular/cookbook/timer $proto://$host_and_port/angular/ng-framework-modules/timer permanent;
rewrite ^/angular/cookbook/trace $proto://$host_and_port/angular/ng-framework-modules/trace permanent;

# Redirect the Cookbook under Framework Modules
rewrite ^/cookbook/trace $proto://$host_and_port/ns-framework-modules/trace permanent;
Expand Down

0 comments on commit 61eb225

Please sign in to comment.