aboutsummaryrefslogtreecommitdiff
path: root/middleware.cfg
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-02-20 21:00:00 +0000
committerGravatar GitHub <noreply@github.com> 2017-02-20 21:00:00 +0000
commit26242cef1bac4a4d807a49981e47c4e67b612311 (patch)
tree80930ed68de5813b2e5f8f4917c0a68ae83cd9df /middleware.cfg
parent3e26398e086d68da94aa6aaebee24705ce91b6a9 (diff)
downloadcoredns-26242cef1bac4a4d807a49981e47c4e67b612311.tar.gz
coredns-26242cef1bac4a4d807a49981e47c4e67b612311.tar.zst
coredns-26242cef1bac4a4d807a49981e47c4e67b612311.zip
Document fallthrough and fix rewrite (#537)
* Document fallthrough and fix *reverse* While documenting the fallthrough behavior and testing it I noticed the did not properly work. This PR does a tiny bit too much as it - Documents fallthrough - Fixes fallthrough in reverse - Makes directives_generate complain on duplicate priorities - Moved reverse *before* file in middleware.cfg - Add a test that tests the reverse fallthrough behavior with a file backend Fixes #515 * ....and fix the tests
Diffstat (limited to 'middleware.cfg')
-rw-r--r--middleware.cfg14
1 files changed, 7 insertions, 7 deletions
diff --git a/middleware.cfg b/middleware.cfg
index dcec2c99a..b43a71dcf 100644
--- a/middleware.cfg
+++ b/middleware.cfg
@@ -32,12 +32,12 @@
110:rewrite:rewrite
120:loadbalance:loadbalance
130:dnssec:dnssec
-140:file:file
-150:auto:auto
-160:secondary:secondary
-170:etcd:etcd
-180:kubernetes:kubernetes
-185:reverse:reverse
-190:proxy:proxy
+140:reverse:reverse
+150:file:file
+160:auto:auto
+170:secondary:secondary
+180:etcd:etcd
+190:kubernetes:kubernetes
+200:proxy:proxy
210:whoami:whoami
220:erratic:erratic