error_page 改变状态码为新的状态码,并显示指定内容

server {  
        listen 80;
        server_name www.espressos.com;
        location / {  
                root /data0/www/bbs;
                index index.html index.htm;
                fastcgi_intercept_errors on;
                error_page 404 =200 /ta.jpg;
                access_log /app/logs/bbs_access.log commonlog;
         }
 
 
 }
原文地址:https://www.cnblogs.com/bass6/p/7111451.html