Replies: 3 comments 8 replies
-
I have a PR to add this optional functionality https://github.com/trillium-rs/trillium/compare/main...jalcine:allow-proxy-to-use-native-url?expand=1 but I'm running into a HTTP version mismatch:
|
Beta Was this translation helpful? Give feedback.
-
Could you provide examples of how you'd want the url rewritten? I was planning on adding some sort of general rewriting functionality, would be useful to have a use case to build towards. I'm not sure what's up with the http error, but I think we probably want a solution that accepts an optional |
Beta Was this translation helpful? Give feedback.
-
Oh, if you really only ever want to receive requests at the specific url, I recommend using Router. |
Beta Was this translation helpful? Give feedback.
-
So i have a use case for
trillium-proxy
where I'd want to proxy requests from one path to another one (like the proxy does) but without replacing the path. For example, I'd like to receive requests at/_proxy_/service
and send it tohttp://remote.service/location
. The/location
part is important.Beta Was this translation helpful? Give feedback.
All reactions