waterlink / rack-reverse-proxy

A Reverse Proxy for Rack
MIT License
196 stars 52 forks source link

Fix setting global options #37

Closed knapo closed 7 years ago

knapo commented 8 years ago

Using reverse_proxy_options with part of options, reset other defaults. This PR fixes the issue and make sure that default values are used.

jjb commented 7 years ago

@waterlink I noticed the same problem and I think it might be the cause of some trouble and confusion i've had.

i'm going to rebase this and submit another PR and see if the tests will pass.