You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/03/22 06:24:00 UTC

[GitHub] [apisix] tokers commented on issue #3251: request help: custom index.html 4xx.html 5xx.html in Apache APISIX

tokers commented on issue #3251:
URL: https://github.com/apache/apisix/issues/3251#issuecomment-803795951


   > Directly point to apisix.apach.org is not very good.
   > 
   > I think we can do it as follow:
   > 
   > 1. Provide a static HTML that contains the apisix.apache.org
   > 2. Update the ngx_tpl to generate the apisix_error_handler like this:
   > 
   > ```
   > error_page 500 502 503 504 @apisix_error_handler;
   > ```
   > 
   > By the way, @juzhiyuan can you design a simple static html like this:
   > https://github.com/openresty/openresty/blob/master/html/50x.html
   
   And don't forget to add test cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org