-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request Rewrite Example #598
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For something like:
Trying to take the capture group above and add into the hostname as a prefix. Basically like a relabel_config in prometheus. I didn't see an examples on how to do it. Most of the examples for rewrites involve fixed values like here: https://github.com/trickstercache/trickster/blob/main/docs/request_rewriters.md#header-set
Looking through the source:
trickster/pkg/proxy/request/rewriter/rewrite_instructions_test.go
Line 71 in 0cf4524
Looks like that uses a ${trickster} var. Don't see where it originated.
The text was updated successfully, but these errors were encountered: