Add Caddyfile

This commit is contained in:
Miek Gieben 2017-07-25 07:13:03 +01:00
parent 416e66a45a
commit ce9a84ebc8
1 changed files with 17 additions and 0 deletions

17
Caddyfile Normal file
View File

@ -0,0 +1,17 @@
# Caddyfile for CoreDNS's websites.
https://coredns.io https://www.coredns.io {
root /opt/www/coredns.io
log / stdout "{remote} - {host} {method} {path} {proto} {status} {size} {>Referer}"
errors stdout {
404 404.html
}
ext .html
prometheus
}
https://blog.coredns.io {
redir https://coredns.io{uri}
}