Commit ba991529 by Łukasz Nowak Committed by Łukasz Nowak

caddy-frontend: Note implementation details regarding rotation

1 parent 4a165e9b
......@@ -22,7 +22,7 @@ md5sum = c801b7f9f11f0965677c22e6bbe9281b
[template-apache-frontend]
filename = instance-apache-frontend.cfg.in
md5sum = a9d6b931fc9b5fd402b55c0219e6f02d
md5sum = ab5312fb5454d5358b22b000cf6ed124
[template-apache-replicate]
filename = instance-apache-replicate.cfg.in
......
......@@ -437,6 +437,11 @@ rendered = ${directory:bbb-ssl-dir}/frontend.crt
name = caddy
log = ${caddy-configuration:error-log} ${caddy-configuration:access-log}
rotate-num = 30
# Note: Slaves do not define their own reload, as this would be repeated,
# because sharedscripts work per entry, and each slave needs its own
# olddir
# Here we trust that there will be something to be rotated with error
# or access log, and that this will trigger postrotate script.
post = ${frontend-caddy-lazy-graceful:rendered} &
[logrotate-entry-nginx]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!