adding sequential policy to forward plugin (#1704)

* adding sequential policy to forward plugin

* making sequential an alias to first in proxy plugin
This commit is contained in:
Scott Donovan 2018-04-20 01:07:58 -05:00 committed by Miek Gieben
parent 26d1432ae6
commit 19a1ef48f2
8 changed files with 23 additions and 5 deletions

View file

@ -225,6 +225,8 @@ func parseBlock(c *caddy.Controller, f *Forward) error {
f.p = &random{}
case "round_robin":
f.p = &roundRobin{}
case "sequential":
f.p = &sequential{}
default:
return c.Errf("unknown policy '%s'", x)
}