rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 432a37ff09807d8781a88474270b11d0b58cba3a 198 bytes (raw)
$ git show HEAD:examples/reverse_proxy.ru	# shows this blob on the CLI

1
2
3
4
5
6
7
8
9
 
# see Rainbows::ReverseProxy RDoc
cfg = {
  :upstreams => [
    "/tmp/.r.sock",
    "http://yhbt.net/",
    [ "http://10.6.6.6:666/", { :weight => 666 } ],
  ]
}
run Rainbows::ReverseProxy.new(cfg)

git clone https://yhbt.net/rainbows.git