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
Rainbows! 5.2.1
[rainbows.git]
/
examples
/
reverse_proxy.ru
blob
432a37ff09807d8781a88474270b11d0b58cba3a
1
# see Rainbows::ReverseProxy RDoc
2
cfg = {
3
:upstreams => [
4
"/tmp/.r.sock",
5
"http://yhbt.net/",
6
[ "http://10.6.6.6:666/", { :weight => 666 } ],
7
]
8
}
9
run Rainbows::ReverseProxy.new(cfg)