Rainbows! 5.2.1
[rainbows.git] / examples / reverse_proxy.ru
blob432a37ff09807d8781a88474270b11d0b58cba3a
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   ]
9 run Rainbows::ReverseProxy.new(cfg)