-
We've configured destinations and yarp is adding a trailing slash to it. Why is it making this assumption and can we stop it from happening?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The proxied request path is the combination of the destination address and the original request path. In your example the request path is "/", and the destination address is "http://localhost/path", so you get "http://localhost/path/". You can adjust this with a request transform: |
Beta Was this translation helpful? Give feedback.
The proxied request path is the combination of the destination address and the original request path. In your example the request path is "/", and the destination address is "http://localhost/path", so you get "http://localhost/path/".
You can adjust this with a request transform:
https://microsoft.github.io/reverse-proxy/articles/transforms.html#addrequesttransform