mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Add on plugin (#1412)
Enable this Caddy plugin by default. Docs will go up coredns.io for this as well. See https://caddyserver.com/docs/on
This commit is contained in:
@@ -41,6 +41,7 @@ var Directives = []string{
|
|||||||
"proxy",
|
"proxy",
|
||||||
"erratic",
|
"erratic",
|
||||||
"whoami",
|
"whoami",
|
||||||
|
"on",
|
||||||
"startup",
|
"startup",
|
||||||
"shutdown",
|
"shutdown",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,5 +35,6 @@ import (
|
|||||||
_ "github.com/coredns/coredns/plugin/tls"
|
_ "github.com/coredns/coredns/plugin/tls"
|
||||||
_ "github.com/coredns/coredns/plugin/trace"
|
_ "github.com/coredns/coredns/plugin/trace"
|
||||||
_ "github.com/coredns/coredns/plugin/whoami"
|
_ "github.com/coredns/coredns/plugin/whoami"
|
||||||
|
_ "github.com/mholt/caddy/onevent"
|
||||||
_ "github.com/mholt/caddy/startupshutdown"
|
_ "github.com/mholt/caddy/startupshutdown"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -50,5 +50,6 @@ etcd:etcd
|
|||||||
proxy:proxy
|
proxy:proxy
|
||||||
erratic:erratic
|
erratic:erratic
|
||||||
whoami:whoami
|
whoami:whoami
|
||||||
|
on:github.com/mholt/caddy/onevent
|
||||||
startup:github.com/mholt/caddy/startupshutdown
|
startup:github.com/mholt/caddy/startupshutdown
|
||||||
shutdown:github.com/mholt/caddy/startupshutdown
|
shutdown:github.com/mholt/caddy/startupshutdown
|
||||||
|
|||||||
Reference in New Issue
Block a user