aboutsummaryrefslogtreecommitdiff
path: root/plugin.cfg
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-09-14 09:36:06 +0100
committerGravatar GitHub <noreply@github.com> 2017-09-14 09:36:06 +0100
commitd8714e64e400ef873c2adc4d929a07d7890727b9 (patch)
treec9fa4c157e6af12eb1517654f8d23ca5d5619513 /plugin.cfg
parentb984aa45595dc95253b91191afe7d3ee29e71b48 (diff)
downloadcoredns-d8714e64e400ef873c2adc4d929a07d7890727b9.tar.gz
coredns-d8714e64e400ef873c2adc4d929a07d7890727b9.tar.zst
coredns-d8714e64e400ef873c2adc4d929a07d7890727b9.zip
Remove the word middleware (#1067)
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat
Diffstat (limited to 'plugin.cfg')
-rw-r--r--plugin.cfg51
1 files changed, 51 insertions, 0 deletions
diff --git a/plugin.cfg b/plugin.cfg
new file mode 100644
index 000000000..550dd246d
--- /dev/null
+++ b/plugin.cfg
@@ -0,0 +1,51 @@
+# Directives are registered in the order they should be
+# executed.
+#
+# Ordering is VERY important. Every plugin will
+# feel the effects of all other plugin below
+# (after) them during a request, but they must not
+# care what plugin above them are doing.
+
+# How to rebuild with updated plugin configurations:
+# Modify the list below and run `go gen && go build`
+
+# The parser takes the input format of
+# <order>:<plugin-name>:<package-name>
+# Or
+# <order>:<plugin-name>:<fully-qualified-package-name>
+#
+# External plugin example:
+# 80:log:github.com/coredns/coredns/plugin/log
+# Local plugin example:
+# 80:log:log
+
+1:tls:tls
+10:root:root
+20:bind:bind
+30:debug:debug
+40:trace:trace
+50:health:health
+60:pprof:pprof
+70:prometheus:metrics
+80:errors:errors
+90:log:log
+100:autopath:autopath
+110:dnstap:dnstap
+120:chaos:chaos
+130:cache:cache
+140:rewrite:rewrite
+150:loadbalance:loadbalance
+160:dnssec:dnssec
+170:reverse:reverse
+180:hosts:hosts
+190:federation:federation
+200:kubernetes:kubernetes
+210:file:file
+220:auto:auto
+230:secondary:secondary
+240:etcd:etcd
+250:proxy:proxy
+260:erratic:erratic
+270:whoami:whoami
+500:startup:github.com/mholt/caddy/startupshutdown
+510:shutdown:github.com/mholt/caddy/startupshutdown