mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
Add Caddyfile
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user