This repo contains the Terraform, Ansible, and Capistrano configurations to deploy a static Jekyll site to multiple instances behind a LoadBalancer.
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

{{ 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
}
}