Skip to content

Commit

Permalink
Merge pull request #1215 from ORCID/chore/L08_redirect_old_links
Browse files Browse the repository at this point in the history
Chore/l08 redirect old links
  • Loading branch information
jthomas-orcid authored Jun 7, 2024
2 parents 1e6465a + 48949d1 commit 8351d8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/container-files/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ server {
expires off;
etag off;

# The load balancer is Temporarily configured to forward all requests for '^/ui(.*)' to this docker container running nginx listening on port 8090.
# The context path for this app will eventully be changed to the root dir '/' and the Gateway App will be decomissioned and all rewrites and location blocks will need to be re-assessed and updated.
# Redirect Old Links
rewrite ^/member(.*)$ /en/members$1;
rewrite ^/user(.*)$ /en/users$1;
rewrite ^/assertion(.*)$ /en$1;

# Temporary Rule, when the UI app is served from the root instead of `/ui` then this rewrite rule can be removed.
rewrite ^/ui/(.*)$ /$1 last;
Expand Down

0 comments on commit 8351d8b

Please sign in to comment.