falkenstein: switch to caddy

This commit is contained in:
Rouven Seifert 2024-05-23 15:44:49 +02:00
parent 7811c95ecf
commit c96d8b7103
13 changed files with 76 additions and 121 deletions

View file

@ -19,15 +19,11 @@
weekly
rotate 156
}
"/var/log/nginx/*.log" {
"/var/log/caddy/*.log" {
compress
delaycompress
weekly
postrotate
[ ! -f /var/run/nginx/nginx.pid ] || kill -USR1 `cat /var/run/nginx/nginx.pid`
endscript
rotate 26
su nginx nginx
}
'';
}