You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to configure YARP so when it receives request with subdomain, it preserves the subdomain and passes the request to another address adding the subdomain?
For example: tenant1.proxy.com/import/something would be passed to tenant1.api.com/something/import but the tenant1 name is dynamic and cannot be set in configuration.
I don't believe you can express destination host transformations like that with the built-in config transforms.
But you can do it from code, e.g. something like
Is it possible to configure YARP so when it receives request with subdomain, it preserves the subdomain and passes the request to another address adding the subdomain?
For example:
tenant1.proxy.com/import/something
would be passed totenant1.api.com/something/import
but thetenant1
name is dynamic and cannot be set in configuration.I have tried given configuration without success:
The text was updated successfully, but these errors were encountered: