apisix
apisix copied to clipboard
request help: dcdn + apisix , need custom rewrite the error respone feature.
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 .
It's not easy to implement, some hackss might be introduced for Nginx core.
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.
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.