mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-19 20:19:15 +02:00
rsync 3.5.0 now requires 'proxy protocol hosts' to be set as it would refuse all connections otherwise. See also https://download.samba.org/pub/rsync/NEWS#3.5.0. To figure this out, I took a look at the journal where it said Aug 16 23:10:48 repos.archlinux.org rsyncd[1263114]: proxy protocol rejected from untrusted peer UNDETERMINED (localhost) I figured I might as well try that and it seems to work. The problem is that we use a socket to connect to rsync from nginx and rsync doesn't seem to handle that case specifically. Fixes #863.
12 lines
328 B
Plaintext
12 lines
328 B
Plaintext
use chroot = no
|
|
max connections = 200
|
|
syslog facility = local5
|
|
proxy protocol = true
|
|
# rsync sees unix-socket peers (nginx) as host "UNDETERMINED", required since 3.5.0
|
|
proxy protocol hosts = UNDETERMINED
|
|
|
|
[packages]
|
|
path = /srv/ftp
|
|
comment = archlinux packages mirror
|
|
exclude = /*-debug/ /pool/*-debug/
|