References
Reverse proxy scheduling
json:scheduling
Original definition
# Reverse proxy scheduling
## Definition
~~~json
{
"code": "Scheduling method code",
"options": "Scheduling options"
}
~~~
Where:
* `code`: scheduling method code
* `random` - Random
* `roundRobin` - Round robin
* `hash` - Hash algorithm
* `key` - Custom key; may use request variables such as `${remoteAddr}`
* `sticky` - Sticky algorithm
* `type` - Type: cookie, header or argument
* `param` - Parameter value
## Examples
~~~json
{
"code": "random",
"options": null
}
~~~