apt install rsync
mkdir /srv/rsync
uid = root
gid = root
max connections = 10
log file = /var/log/rsync.log
timeout = 300
[rsync]
path = /var/www/
read only = no
list = yes
auth users = rsync_user
secrets file = /etc/rsyncd.secrets
rsync_user:password
rsync --daemon