custom plugin - set an upstream as a http fallback server #7773
-
I want to write a custom plugin in lua, to configure an upstream as a http fallback server, the logic is:
I looked at the builtin plugin beacuse I need to check the default upstream's response status_code, I think I should execute my fallback-plugin at
any suggestions? thanks~ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
we have support this feature, like
ref: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#request-body-parameters-3 |
Beta Was this translation helpful? Give feedback.
we have support this feature, like
ref: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#request-body-parameters-3