Nginx 404 Page - Web a request for /foo comes in, chooses location /, return 404 looks for an error page, finds it, performs an internal redirect to /404.html,. Web put your custom error pages in the /usr/share/nginx/html directory where nginx sets its default document root.
Web put your custom error pages in the /usr/share/nginx/html directory where nginx sets its default document root. Web a request for /foo comes in, chooses location /, return 404 looks for an error page, finds it, performs an internal redirect to /404.html,.