starsz commented on pull request #3883: URL: https://github.com/apache/apisix/pull/3883#issuecomment-824977556
> > > Then your PR did not solve the issue @starsz > > > > > > I am confused. This PR can solve the issue. The response I give is before this PR. > > Can you give more details about why this PR can't solve the issue? > > By the way, I will fix the CI first. > > please make sure you read the issue and thread in mailing list Hi, @moonming.I read the [email](https://lists.apache.org/thread.html/rbb88d707eeaf0dbcba4d73f1f741f3621f90e84785899c47479a8557%40%3Cdev.apisix.apache.org%3E) again. The openresty updated the 50x.html. If we use the openresty's default conf or nginx default conf. There is the following configuration: ``` error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } ``` So that we can see the HTML that updated by the openresty. But in apisix, we don't set the `error page` in config.See the `ngx_tpl.lua`.So we wouldn't see the 50x.html updated by the openresty. BTW, I think my implementation is too complicated. Can we create html directory and put our html in it? Then we can get the html if an error occurred. -- 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: [email protected]
