mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -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",
|
||||
"erratic",
|
||||
"whoami",
|
||||
"on",
|
||||
"startup",
|
||||
"shutdown",
|
||||
}
|
||||
|
||||
@@ -35,5 +35,6 @@ import (
|
||||
_ "github.com/coredns/coredns/plugin/tls"
|
||||
_ "github.com/coredns/coredns/plugin/trace"
|
||||
_ "github.com/coredns/coredns/plugin/whoami"
|
||||
_ "github.com/mholt/caddy/onevent"
|
||||
_ "github.com/mholt/caddy/startupshutdown"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user