diff --git a/core/directives.go b/core/directives.go index 27d379a0d..90569fbb3 100644 --- a/core/directives.go +++ b/core/directives.go @@ -53,13 +53,12 @@ var directiveOrder = []directive{ // Directives that inject handlers (middleware) {"prometheus", setup.Prometheus}, {"rewrite", setup.Rewrite}, - {"file", setup.File}, {"loadbalance", setup.Loadbalance}, {"log", setup.Log}, {"errors", setup.Errors}, - {"etcd", setup.Etcd}, {"file", setup.File}, + {"etcd", setup.Etcd}, {"proxy", setup.Proxy}, }