vulcand / oxy

Go middlewares for HTTP servers & proxies
Apache License 2.0
2.02k stars 324 forks source link

Introduce NewHeaderRewriter function. #227

Closed mdwn closed 1 year ago

mdwn commented 2 years ago

A utility function called NewHeaderRewriter has been added so that callers can create a HeaderRewriter with oxy's built in hostname logic and customize the TrustForwardHeader setting.