motorx 0.0.18

A reverse-proxy in pure rust.
Documentation
{
	"$schema": "schema.json",
	"addr": "127.0.0.1:4000",
	"rules": [
		{
			"path": {
				"start": "/"
			},
			"upstream": "server"
		},
		{
			"path": {
				"start": "/posts"
			},
			"upstream": "server",
			"cache": {
				"methods": ["GET"]
			}
		}
	],
	"upstreams": {
		"server": {
			"addr": "http://127.0.0.1:2999",
			"max_connections": 10,
			"authentication": {
				"exclude": ["/", "/posts"],
				"source": {
					"upstream": {
						"name": "server",
						"path": "/"
					}
				}
			}
		}
	}
}