/var/log/nextcloud/*.log {
	daily
	compress
	copytruncate
	su nextcloud www-data
}