utsusemi is a proxy server that automatically switches backend.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pkg
src/utsusemi
.gitignore
Makefile
README.md
main.go
utsusemi.toml.sample

README.md

utsusemi

utsusemi is a proxy server that automatically switches backend.

When the first backend returns 404, it goes to the next backend. If the next backend returns 404, go to the third backend...

Getting Started

cp utsusemi.toml.sample utsusemi.toml
make go-get
make
./utsusemi
curl localhost:11080/ping
open http://localhost:11080/images/top/sp2/cmn/logo-170307.png
open http://localhost:11080/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

Configuration

#port = 11080

[[backend]]
target = "http://httpstat.us/404"
#ok = [200]

[[backend]]
target = "https://www.google.co.jp"
#ok = [200]

[[backend]]
target = "https://s.yimg.jp"
#ok = [200]