Skip to content

Commit 77a21ee

Browse files
committed
More documentation cleanup
1 parent 1665480 commit 77a21ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.rdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ Below is an example for configuring the middleware:
1919
require 'rack/reverse_proxy'
2020

2121
use Rack::ReverseProxy do
22-
# Forward the path /test* to http://example.com/test*
22+
# Set :preserve_host to true globally (default is true already)
2323
reverse_proxy_options :preserve_host => true
24-
24+
25+
# Forward the path /test* to http://example.com/test*
2526
reverse_proxy '/test', 'http://example.com/'
2627

2728
# Forward the path /foo/* to http://example.com/bar/*

0 commit comments

Comments
 (0)