From a6fce0a42a540eafcb1455ff6863fe8e24ee7fc4 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 7 Jan 2019 17:42:28 +0000
Subject: [PATCH] Enable localhost for onion addresses

---
 src/freedombone-app-rsync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-app-rsync b/src/freedombone-app-rsync
index 95c5999eb..fc43edbbe 100755
--- a/src/freedombone-app-rsync
+++ b/src/freedombone-app-rsync
@@ -191,7 +191,7 @@ function install_rsync {
       echo 'gid = rsync';
       echo '';
       echo '[files]';
-      echo 'hosts allow = 192.168.0.0/16,10.0.0.0/16';
+      echo 'hosts allow = 192.168.0.0/16,10.0.0.0/16,127.0.0.1';
       echo 'hosts deny = *';
       echo 'list = true';
       echo "path = $RSYNC_DATA";
-- 
GitLab