repo.or.cz
/
rainbows.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bump Cramp test dependency to 0.14
[rainbows.git]
/
examples
/
reverse_proxy.ru
blob
fcb9e74ef75d337cb5401437713023491094eb66
1
# see Rainbows::ReverseProxy RDoc
2
cfg = {
3
:upstreams => [
4
"/tmp/.r.sock",
5
"http://bogomips.org/",
6
[ "http://10.6.6.6:666/", { :weight => 666 } ],
7
]
8
}
9
run Rainbows::ReverseProxy.new(cfg)