Re: [naviserver-devel] revproxy and virtual servers

2020-12-21 Thread David Osborne
Thanks Gustaf, As far as I can remember, the multiple servers are to make routing more convenient. For example, on port 443 we don't want to proxy /somefolder* to the backend, but on port 8443 we always want to proxy to a backend. Plus, /tcl* requests on port 443 would be proxied to a different ba

Re: [naviserver-devel] revproxy and virtual servers

2020-12-21 Thread Gustaf Neumann
On 21.12.20 10:58, David Osborne wrote: As far as I can remember, the multiple servers are to make routing more convenient. well, it is not the main purpose of multiple servers :) However, with the changes of yesterday, your use case should work just fine. I'm guessing I could be using url_re

Re: [naviserver-devel] revproxy and virtual servers

2020-12-21 Thread David Osborne
Is there a defined way to cancel an upstream proxy request from within the ::revproxy::upstream filter? This is the case I can't quite see a way forward with.. GET /folder1/page.html when requested via port 443 we would want to reply via fastpath delivery with no proxying. when via port 8443 we