diff --git a/ui/container-files/etc/nginx/conf.d/default.conf b/ui/container-files/etc/nginx/conf.d/default.conf index e27c46b6b..f61676a2f 100644 --- a/ui/container-files/etc/nginx/conf.d/default.conf +++ b/ui/container-files/etc/nginx/conf.d/default.conf @@ -10,14 +10,15 @@ server { rewrite ^/ui/(.*) /$1 break; } - #error_page 404 /404.html; + # JT. Uncomment the error_page directive below to use the orcid 404 error page in /404 + #error_page 404 ../404; # redirect server error pages to the static page /50x.html # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } + #error_page 500 502 503 504 /50x.html; + #location = /50x.html { + # root /usr/share/nginx/html; + #} }