mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-29 09:58:29 +02:00
falkenstein: switch to caddy
This commit is contained in:
parent
7811c95ecf
commit
c96d8b7103
13 changed files with 76 additions and 121 deletions
|
@ -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
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue