Update to caddy2
This commit is contained in:
parent
fb685916c7
commit
bd0b44a911
1 changed files with 3 additions and 11 deletions
|
@ -1,17 +1,9 @@
|
||||||
{{ vhost_url }} {
|
{{ vhost_url }} {
|
||||||
|
|
||||||
status 410 /
|
respond /* 410
|
||||||
|
|
||||||
log {{ caddy_logs }}/{{ vhost_name }}/access.log {
|
log {
|
||||||
rotate_size 100
|
output file {{ caddy_logs }}/{{ vhost_name }}/vhost.log
|
||||||
rotate_age 30
|
|
||||||
rotate_keep 10
|
|
||||||
}
|
|
||||||
|
|
||||||
errors {{ caddy_logs }}/{{ vhost_name }}/errors.log {
|
|
||||||
rotate_size 100
|
|
||||||
rotate_age 30
|
|
||||||
rotate_keep 10
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue