Skip to content

Commit

Permalink
Redirect training.galaxyproject.org ->
Browse files Browse the repository at this point in the history
galaxyproject.github.io/training-material with the $request_uri
appended (previously all pages redirected to the training root).
  • Loading branch information
natefoo committed Nov 14, 2017
1 parent 372d7f4 commit f54bfe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galaxyenv/templates/nginx/training.j2
Expand Up @@ -9,7 +9,7 @@ server {
access_log /var/log/nginx/training.galaxyproject.org_access.log;
error_log /var/log/nginx/training.galaxyproject.org_error.log;

return 302 https://galaxyproject.github.io/training-material/;
return 302 https://galaxyproject.github.io/training-material$request_uri;
}

server {
Expand All @@ -19,7 +19,7 @@ server {
access_log /var/log/nginx/training.galaxyproject.org_access.log;
error_log /var/log/nginx/training.galaxyproject.org_error.log;

return 302 https://galaxyproject.github.io/training-material/;
return 302 https://galaxyproject.github.io/training-material$request_uri;
}

# vim: set filetype=nginx

0 comments on commit f54bfe0

Please sign in to comment.