Fix comment about caddy's default no access log policy
This commit is contained in:
parent
db45fe7cf8
commit
c8278d5631
1 changed files with 6 additions and 6 deletions
12
Caddyfile
12
Caddyfile
|
@ -6,18 +6,18 @@
|
||||||
# auto_https contact mail address, for TLS certs notifications (expiry,
|
# auto_https contact mail address, for TLS certs notifications (expiry,
|
||||||
# other problems with certs)
|
# other problems with certs)
|
||||||
email admins@pub.solar
|
email admins@pub.solar
|
||||||
|
|
||||||
# default to no-logs-policy, don't log anything
|
|
||||||
# comment this block out for debugging
|
|
||||||
log {
|
|
||||||
output discard
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# static file server
|
# static file server
|
||||||
miom.space {
|
miom.space {
|
||||||
root * /srv/miom.space
|
root * /srv/miom.space
|
||||||
file_server
|
file_server
|
||||||
|
|
||||||
|
# caddys default is no access logs at all
|
||||||
|
# comment this block out for debugging
|
||||||
|
#log {
|
||||||
|
# output file /var/log/caddy-access.log
|
||||||
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
# redirect www. subdomain to apex (root) domain
|
# redirect www. subdomain to apex (root) domain
|
||||||
|
|
Loading…
Add table
Reference in a new issue