On Sat, 2018-04-21 at 14:55 +0200, Hiltjo Posthuma wrote:
> I don't mean to hijack the thread, but have you been able to forward
> the
> HTTP request and modifying the path? I've researched the code, but I
> don't
> think it's possible at the moment.

I did not attempt this.

> Locally I have a patch which changes the matching logic to the httpd
> Lua
> pattern matching. This has some side-effects and complicates the code
> though,
> so is probably not suitable for upstream.
> 
> One of the reasons I don't use relayd (yet) is because I'd like to
> reverse
> proxy HTTP traffic but strip the path, for example:
> 
>       somedomain.org/someservice to 127.0.0.1:8080/ (stripping
> "someservice").
> 
> Do you perhaps have a solution or idea to do this?

If it is not possible with relayd, I recommend adding application
middleware to strip it out.

--
Aaron

Reply via email to