mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
* all-middleware-equal
* Revert "all-middleware-equal"
This reverts commit ee77b2a981.
* middleware: treat external and local the same
Make the middleware generation simpler and also specify the local
middleware, meaning that it can now be removed as well. Simplify
the code a bit and regen everything.
* remove lineNR, not used
44 lines
1.0 KiB
INI
44 lines
1.0 KiB
INI
# Directives are registered in the order they should be
|
|
# executed.
|
|
#
|
|
# Ordering is VERY important. Every middleware will
|
|
# feel the effects of all other middleware below
|
|
# (after) them during a request, but they must not
|
|
# care what middleware above them are doing.
|
|
|
|
# How to rebuild with updated middleware configurations:
|
|
# Modify the list below and run `go gen && go build`
|
|
|
|
# The parser takes the input format of
|
|
# <order>:<middleware-name>:<package-name>
|
|
# Or
|
|
# <order>:<middleware-name>:<fully-qualified-package-name>
|
|
#
|
|
# External middleware example:
|
|
# 80:log:github.com/miekg/coredns/middleware/log
|
|
# Local middleware example:
|
|
# 80:log:log
|
|
|
|
10:root:root
|
|
20:bind:bind
|
|
30:trace:trace
|
|
40:health:health
|
|
50:pprof:pprof
|
|
60:prometheus:metrics
|
|
70:errors:errors
|
|
80:log:log
|
|
90:chaos:chaos
|
|
100:cache:cache
|
|
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
|
|
210:whoami:whoami
|
|
220:erratic:erratic
|