Skip to content

Commit

Permalink
Merge pull request #1239 from ORCID/nginxTweakForLandingPage
Browse files Browse the repository at this point in the history
added line for landing-page missing lang code
  • Loading branch information
gilesw authored Aug 6, 2024
2 parents bf57e84 + 6d26c8a commit 49d3227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/container-files/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ server {
rewrite ^/member(.*)$ /en/members$1;
rewrite ^/user(.*)$ /en/users$1;
rewrite ^/assertion(.*)$ /en/affiliations$1;
rewrite ^/landing-page(.*)$ /en/landing-page$1;

# 1.) if no langCode in path eg '/' then default to /en/index.html
try_files $uri/en/index.html $uri/en/index.html;
Expand Down

0 comments on commit 49d3227

Please sign in to comment.