You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
539 B
26 lines
539 B
3 years ago
|
{{ domain }} {
|
||
|
root * /srv/{{ site_name }}/current/_site
|
||
|
file_server
|
||
|
|
||
|
log {
|
||
|
output file /var/log/caddy/{{ domain }}.access.log {
|
||
|
roll_size 3MiB
|
||
|
roll_keep 5
|
||
|
roll_keep_for 48h
|
||
|
}
|
||
|
format console
|
||
|
}
|
||
|
}
|
||
|
{{ staging_domain }} {
|
||
|
root * /srv/{{ site_name }}-staging/current/_site
|
||
|
file_server
|
||
|
|
||
|
log {
|
||
|
output file /var/log/caddy/{{ domain }}.access.log {
|
||
|
roll_size 3MiB
|
||
|
roll_keep 5
|
||
|
roll_keep_for 48h
|
||
|
}
|
||
|
format console
|
||
|
}
|
||
|
}
|