this project implements a very simple reverse tcp/http proxy with json confiugration file.
configuration file looks like:
{
"server1":{
"listen": "address:port",
"backends":["backend1_address:port", "backend2_address:port"]
},
"server2":{
"listen": "address:port",
"backends":["backend1_address:port", "backend2_address:port"]
}
}
Edit a confiuration with format listed in the section "configuration file" and start the reverse_proxy.py with option "--config":
$ python reverse_proxy.py --config my_config.json
Apache license 2.0