Skip to content

proxy configuration being loaded from trigger in app i.e with Controller #1644

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

You must be logged in to vote

Yes, you can have a custom configuration provider that's controlled by an API controller.

You would have to implement a custom IProxyConfigProvider and signal the IChangeToken when you want the config to reload.

See https://microsoft.github.io/reverse-proxy/articles/config-providers.html - it includes an example InMemoryConfigProvider.

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
10 replies
@bmatatuk
Comment options

@Tratcher
Comment options

Tratcher Jun 8, 2023
Collaborator

@bmatatuk
Comment options

@samsp-msft
Comment options

@bmatatuk
Comment options

Comment options

You must be logged in to vote
6 replies
@Tieantono
Comment options

@MihaZupan
Comment options

@Tieantono
Comment options

@Tratcher
Comment options

@Tieantono
Comment options

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