Skip to content

custom plugin - set an upstream as a http fallback server #7773

Answered by tzssangglass
ryan4yin asked this question in Q&A
Discussion options

You must be logged in to vote

we have support this feature, like

Each node can be configured with a priority. A node with low priority will only be used when all the nodes with higher priority have been tried or are unavailable.

As the default priority is 0, nodes with negative priority can be configured as a backup.

ref: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#request-body-parameters-3

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@ryan4yin
Comment options

@tzssangglass
Comment options

@ryan4yin
Comment options

@tokers
Comment options

tokers Sep 15, 2022
Collaborator

@ryan4yin
Comment options

Answer selected by ryan4yin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants