Commit 77bd7eae authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

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
parent 1e75061a
......@@ -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"
)
......@@ -50,5 +50,6 @@ etcd:etcd
proxy:proxy
erratic:erratic
whoami:whoami
on:github.com/mholt/caddy/onevent
startup:github.com/mholt/caddy/startupshutdown
shutdown:github.com/mholt/caddy/startupshutdown
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment