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 2022/02/10 09:40:18 UTC
[GitHub] [apisix] nimohunter edited a comment on issue #5199: how to config error_page like nginx?
nimohunter edited a comment on issue #5199:
URL: https://github.com/apache/apisix/issues/5199#issuecomment-1034677744
> > see: https://github.com/apache/apisix/blob/master/docs/zh/latest/customize-nginx-configuration.md, if this is not satisfied, you need to modify
> > https://github.com/apache/apisix/blob/3bc3ef8a74e3c47eda443ca9c8ea1fccfd309596/apisix/cli/ngx_tpl.lua#L269
>
> I see this,but I need customized error_page for each location ,and the error_page is not the real errpage .so it can not Solve my problem
how about use response-rewrite plugin? match the response status and the location 302 jump to error page https://github.com/apache/apisix/blob/master/t/plugin/response-rewrite.t#L264
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org