Update to caddy2

This commit is contained in:
Wilfried OLLIVIER 2020-05-19 21:26:43 +02:00
parent fb685916c7
commit bd0b44a911
1 changed files with 3 additions and 11 deletions

View File

@ -1,17 +1,9 @@
{{ vhost_url }} {
status 410 /
respond /* 410
log {{ caddy_logs }}/{{ vhost_name }}/access.log {
rotate_size 100
rotate_age 30
rotate_keep 10
}
errors {{ caddy_logs }}/{{ vhost_name }}/errors.log {
rotate_size 100
rotate_age 30
rotate_keep 10
log {
output file {{ caddy_logs }}/{{ vhost_name }}/vhost.log
}
}