Skip to content

Commit

Permalink
Merge pull request #1058 from ORCID/feature/ui-nginx-reconfig-for-rou…
Browse files Browse the repository at this point in the history
…te-refresh-fix

adding fix for angular route refresh problem
  • Loading branch information
bobcaprice authored Nov 10, 2023
2 parents 5d6bdf4 + 8b15268 commit 9805a00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/container-files/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
rewrite ^/ui/(.*) /$1 break;
rewrite ^/ui/(.*) /$1 break;
try_files $uri $uri/ /index.html;
}

# JT. Uncomment the error_page directive below to use the orcid 404 error page in /404
Expand Down

0 comments on commit 9805a00

Please sign in to comment.