Skip to content

Commit

Permalink
add hub redirects for API pages
Browse files Browse the repository at this point in the history
  • Loading branch information
martenson committed Mar 20, 2017
1 parent 03c88af commit c42389d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions galaxyenv/templates/nginx/galaxyproject.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ server {
rewrite (?i)^/GCC2015.* http://gcc2015.tsl.ac.uk/;
rewrite (?i)^/GCC2016.* https://gcc2016.iu.edu/;
rewrite (?i)^/trello.* https://github.com/galaxyproject/galaxy/issues/;

# internal redirects
rewrite ^/learn/api/?$ /develop/api;
rewrite ^/admin/api/?$ /develop/api;
rewrite ^/develop/resources-api/?$ /develop/api;
rewrite ^/learn/api/examples/?$ /develop/api;

}

# vim: set filetype=nginx
Expand Down

0 comments on commit c42389d

Please sign in to comment.