on the Amazon Linux AMI.This is the default 404 error page for nginx that is distributed with the Amazon Linux AMI.It is located at /usr/share/nginx/html/404.html
You should customize this error page for your own sitepage
我试图指定一个自定义404页面并保留该URL,但是使用下面的命令会给出错误的nginx: [emerg] "proxy_pass" cannot have URI part in location givenlocation, or inside "if" statement, or inside "limit_except" block in... error_page 404@404;
location @