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 }} {
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue