On Thu, 2017-05-11 at 00:02 -0700, Gary Gregory wrote: > Hi All, > > (I am not proposing to change NHttpReverseProxy but my code in a > descendant > of NHttpReverseProxy). > > How would I change the path of a request's URI before it is forwarded > to > the origin server? >
This entirely depends on what kind requests the origin server expects. If your proxy expects absolute request URIs but the origin does relative ones then rewrite the request URI as relative and generate Host header with the authority components of the original URI. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
