Commit 3fab9b1b authored by Miek Gieben's avatar Miek Gieben

caddy.CaddyfileFromPipe requires server type

Change to be inline with latest caddy changes, caddy.CaddyfileFromPipe
requires servertype argument.

Fixes: #243
parent eea77cc9
......@@ -113,7 +113,7 @@ func confLoader(serverType string) (caddy.Input, error) {
}
if conf == "stdin" {
return caddy.CaddyfileFromPipe(os.Stdin)
return caddy.CaddyfileFromPipe(os.Stdin, "dns")
}
contents, err := ioutil.ReadFile(conf)
......
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