Skip to content

Redirecting based on a condition #1937

Answered by MihaZupan
jongallant asked this question in Q&A
Discussion options

You must be logged in to vote

There's a context.ReassignProxyRequest(cluster) API you can use to change the destination in a middleware.
See https://microsoft.github.io/reverse-proxy/articles/ab-testing.html

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jongallant
Comment options

@MihaZupan
Comment options

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