apisix icon indicating copy to clipboard operation
apisix copied to clipboard

request help: dcdn + apisix , need custom rewrite the error respone feature.

Open oldthreefeng opened this issue 4 years ago • 2 comments

Issue description

ref: https://github.com/apache/apisix/issues/4394

Environment

for apisix. is there any way to rewrite the error response (an error like phase ssl certs not matches error) to upstream ?

when phase ssl error . return an error respone to upstream. but this can ignore for us.

on Dcdn. we hava many rules for alert.. one is 50X response . if an error meet ssl phase error. then apisix return an 502 to dcdn. this is not what we want to alert . just warning or others ..

so anyone can helps me out ?

Request help without environment information will be ignored or closed.

  • apisix version (cmd: apisix version): 2.8
  • OS (cmd: uname -a): centos-7.9 .

oldthreefeng avatar Aug 16 '21 11:08 oldthreefeng

It's not easy to implement, some hackss might be introduced for Nginx core.

tokers avatar Aug 16 '21 12:08 tokers

This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Aug 02 '22 10:08 github-actions[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

github-actions[bot] avatar Aug 16 '22 12:08 github-actions[bot]