Skip to content

Commit 3652285

Browse files
committed
:preserve_host should default to true
1 parent 955e561 commit 3652285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rack/reverse_proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ReverseProxy
66
def initialize(app = nil, &b)
77
@app = app || lambda { [404, [], []] }
88
@matchers = []
9-
@global_options = {:preserve_host => false, :matching => :all, :verify_ssl => true}
9+
@global_options = {:preserve_host => true, :matching => :all, :verify_ssl => true}
1010
instance_eval &b if block_given?
1111
end
1212

0 commit comments

Comments
 (0)